Skip to content

Commit e4420f6

Browse files
committed
JS: Move babel-root-import test
This moves the test for the babel `root-import` plugin into the new unit test for import resolution, so we only have one set of tests to maintain. The actual implementation is added in the next commit.
1 parent 6725cb5 commit e4420f6

File tree

20 files changed

+7
-20
lines changed

20 files changed

+7
-20
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import f from '~/a'; // $ MISSING: importTarget=BabelRootImport/tst1/a.js
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import f from '~/a'; // $ MISSING: importTarget=BabelRootImport/tst1/a.js
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import g from '~/b.js'; // $ MISSING: importTarget=BabelRootImport/tst2/src/js/b.js
2+
import f from '#/a'; // $ MISSING: importTarget=BabelRootImport/tst1/a.js
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import greeting from '~/b.js'; // $ MISSING: importTarget=BabelRootImport/tst3/src/b.js

0 commit comments

Comments
 (0)