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