Skip to content

Commit

Permalink
add deprecation cases
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Sep 1, 2022
1 parent 14d9ea1 commit ca1cecf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/es-module/test-esm-exports-deprecations.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ const expectedWarnings = [
'Use of deprecated leading or trailing slash',
'Use of deprecated double slash',
'.//asdf.js',
'".//internal/test.js"',
'".//internal//test.js"',
'"./////internal/////test.js"',
'"./trailing-pattern-slash/"',
'"./subpath/dir1/dir1.js"',
'"./subpath//dir1/dir1.js"',
'.//asdf.js',
'".//internal/test.js"',
'".//internal//test.js"',
'"./////internal/////test.js"',
'no_exports',
'default_index',
];
Expand Down

0 comments on commit ca1cecf

Please sign in to comment.