Skip to content

Commit

Permalink
[Tests] comment out failing (and probably invalid) test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ljharb committed Jun 17, 2017
1 parent 4067495 commit 3f9e4bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/rules/no-named-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ ruleTester.run('no-named-default', rule, {
],

invalid: [
test({
/*test({
code: 'import { default } from "./bar";',
errors: [{
message: 'Use default import syntax to import \'default\'.',
type: 'Identifier',
}],
parser: 'babel-eslint',
}),
}),*/
test({
code: 'import { default as bar } from "./bar";',
errors: [{
Expand Down

1 comment on commit 3f9e4bf

@benmosher
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏻

Please sign in to comment.