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 563d8d4 commit d723863Copy full SHA for d723863
test/index.js
@@ -18,9 +18,11 @@ const document = new JSDOM().window.document
18
globalThis.document = document
19
20
test('toDom', () => {
21
- const api = Object.keys(mod)
22
- assert.ok(api.includes('toDom'), 'should expose `toDom`')
23
- assert.equal(api.length, 1, 'should expose the public api')
+ assert.deepEqual(
+ Object.keys(mod).sort(),
+ ['toDom'],
24
+ 'should expose the public api'
25
+ )
26
27
assert.equal(
28
// @ts-expect-error runtime.
0 commit comments