Skip to content

Commit 6311a35

Browse files
committed
Add tests for exposed identifiers
1 parent e2c7e62 commit 6311a35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: test.js

+7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
import assert from 'node:assert/strict'
22
import test from 'node:test'
33
import {parseSelector} from './index.js'
4+
import * as mod from './index.js'
45

56
test('parseSelector()', () => {
7+
assert.deepEqual(
8+
Object.keys(mod).sort(),
9+
['parseSelector'],
10+
'should expose the public api'
11+
)
12+
613
assert.deepEqual(
714
parseSelector(),
815
{

0 commit comments

Comments
 (0)