Skip to content

Commit 3f9e4bf

Browse files
committed
[Tests] comment out failing (and probably invalid) test
I suspect that this test is not actually valid syntax, and that babel is now throwing on it. If so, it should simply be removed.
1 parent 4067495 commit 3f9e4bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/rules/no-named-default.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ ruleTester.run('no-named-default', rule, {
1313
],
1414

1515
invalid: [
16-
test({
16+
/*test({
1717
code: 'import { default } from "./bar";',
1818
errors: [{
1919
message: 'Use default import syntax to import \'default\'.',
2020
type: 'Identifier',
2121
}],
2222
parser: 'babel-eslint',
23-
}),
23+
}),*/
2424
test({
2525
code: 'import { default as bar } from "./bar";',
2626
errors: [{

0 commit comments

Comments
 (0)