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 eaf7e16 commit a9c3661Copy full SHA for a9c3661
test/index.js
@@ -9,8 +9,15 @@ import jsx from 'acorn-jsx'
9
// @ts-expect-error: untyped.
10
import stage3 from 'acorn-stage3'
11
import {fromJs} from '../index.js'
12
+import * as mod from '../index.js'
13
+
14
+test('fromJs', () => {
15
+ assert.deepEqual(
16
+ Object.keys(mod).sort(),
17
+ ['fromJs'],
18
+ 'should expose the public api'
19
+ )
20
-test('estree-util-from-js', () => {
21
assert.deepEqual(
22
fromJs('1 + "2"'),
23
{
0 commit comments