We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b583f commit 006be2aCopy full SHA for 006be2a
test.js
@@ -1,8 +1,15 @@
1
import assert from 'node:assert/strict'
2
import test from 'node:test'
3
import {embedded} from './index.js'
4
+import * as mod from './index.js'
5
6
test('embedded', () => {
7
+ assert.deepEqual(
8
+ Object.keys(mod).sort(),
9
+ ['embedded'],
10
+ 'should expose the public api'
11
+ )
12
+
13
assert.equal(embedded(), false, 'should return `false` without node')
14
15
assert.equal(embedded(null), false, 'should return `false` with `null`')
0 commit comments