Add 20 Pear/Bare platform modules replacing deprecated pear run.
Introduces hyper-bare-entry-runner, pear-runtime embed/link/config stack, and scaffold helpers for argv, storage, OTA, Electron, and headless UI. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
require('bare-process/global')
|
||||
const test = require('brittle')
|
||||
const { HyperPearDeepLink } = require('../index.js')
|
||||
|
||||
test('open deep link', async (t) => {
|
||||
const d = new HyperPearDeepLink()
|
||||
const o = d.open('pear://key/ui/page.js/sub')
|
||||
t.ok(o.entrypoint)
|
||||
await d.close()
|
||||
})
|
||||
Reference in New Issue
Block a user