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