Skip to content

Commit 329e3d0

Browse files
Add a test for disable-absolute-first option
1 parent 94e0c4b commit 329e3d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: tests/src/rules/first.js

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ ruleTester.run('first', rule, {
1111
export { x, y }" })
1212
, test({ code: "import { x } from 'foo'; import { y } from './bar'" })
1313
, test({ code: "import { x } from './foo'; import { y } from 'bar'" })
14+
, test({ code: "import { x } from './foo'; import { y } from 'bar'"
15+
, options: ['disable-absolute-first'],
16+
})
1417
, test({ code: "'use directive';\
1518
import { x } from 'foo';" })
1619
,

0 commit comments

Comments
 (0)