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 6f71aaf commit b527dd4Copy full SHA for b527dd4
test.js
@@ -2,8 +2,15 @@ import assert from 'node:assert/strict'
2
import test from 'node:test'
3
import {h, s} from 'hastscript'
4
import {fromSelector} from './index.js'
5
+import * as mod from './index.js'
6
7
test('fromSelector()', () => {
8
+ assert.deepEqual(
9
+ Object.keys(mod).sort(),
10
+ ['fromSelector'],
11
+ 'should expose the public api'
12
+ )
13
+
14
assert.throws(
15
() => {
16
fromSelector('@supports (transform-origin: 5% 5%) {}')
0 commit comments