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 f651ac8 commit 7b9f9e1Copy full SHA for 7b9f9e1
test.js
@@ -1,8 +1,15 @@
1
import assert from 'node:assert/strict'
2
import test from 'node:test'
3
import {scriptSupporting} from './index.js'
4
+import * as mod from './index.js'
5
6
test('scriptSupporting', () => {
7
+ assert.deepEqual(
8
+ Object.keys(mod).sort(),
9
+ ['scriptSupporting'],
10
+ 'should expose the public api'
11
+ )
12
+
13
assert.equal(scriptSupporting(), false, 'should return `false` without node')
14
15
assert.equal(
0 commit comments