Deepen all 16 pear-platform scaffolds to production APIs.
Expands spawn, argv, preflight, trust, OTA, pipes, and headless UI modules; bumps to 0.3.1 with fuller tests and registry tier updates. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -5,6 +5,15 @@ const { HyperBareTargetMatrix } = require('../index.js')
|
||||
test('select target', async (t) => {
|
||||
const m = new HyperBareTargetMatrix()
|
||||
m.select('linux-arm64')
|
||||
t.ok(m.current())
|
||||
t.ok(m.artifactName().includes('linux-arm64'))
|
||||
await m.close()
|
||||
})
|
||||
|
||||
test('matchHost mobile', async (t) => {
|
||||
const m = new HyperBareTargetMatrix()
|
||||
m.select('ios-arm64')
|
||||
t.ok(m.isMobile())
|
||||
t.ok(m.matchHost('ios', 'arm64'))
|
||||
await m.close()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user