Holesail Service Daemon + Bin Client
This commit is contained in:
@@ -3376,7 +3376,14 @@ test('bare-module-manifest.data.mjs matches bare-module-manifest.json', async (t
|
||||
|
||||
test('buildBareCtxObjectFromHost loads core keys on Node', async (t) => {
|
||||
const target = {}
|
||||
await buildBareCtxObjectFromHost({}, target)
|
||||
await buildBareCtxObjectFromHost(
|
||||
{
|
||||
// Narrow host import set: parallel import of the full manifest is slow and
|
||||
// some Bare-oriented packages disturb brittle's hrtime-based timers.
|
||||
BARE_OS_BARE_HOST_ONLY_CTX_KEYS: 'b4a,compactEncoding,protomux'
|
||||
},
|
||||
target
|
||||
)
|
||||
t.ok(target.b4a)
|
||||
t.ok(target.compactEncoding)
|
||||
t.ok(target.protomux)
|
||||
|
||||
Reference in New Issue
Block a user