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 a64af0e commit 787848fCopy full SHA for 787848f
test/all.js renamed to test/core.js
@@ -3,6 +3,15 @@ import test from 'node:test'
3
import {u} from 'unist-builder'
4
import {h} from 'hastscript'
5
import {selectAll} from '../index.js'
6
+import * as mod from '../index.js'
7
+
8
+test('select', () => {
9
+ assert.deepEqual(
10
+ Object.keys(mod).sort(),
11
+ ['matches', 'select', 'selectAll'],
12
+ 'should expose the public api'
13
+ )
14
+})
15
16
test('all together now', () => {
17
assert.deepEqual(
test/index.js
@@ -1,7 +1,7 @@
1
/* eslint-disable import/no-unassigned-import */
2
+import './core.js'
import './matches.js'
import './select.js'
import './select-all.js'
-import './all.js'
import './svg.js'
/* eslint-enable import/no-unassigned-import */
0 commit comments