From 3f9e4bf650339b4f2a4800f2d15cc3eb052a08ed Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 16 Jun 2017 17:13:17 -0700 Subject: [PATCH] [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. --- tests/src/rules/no-named-default.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/rules/no-named-default.js b/tests/src/rules/no-named-default.js index 8ca26f860..b7013fcc7 100644 --- a/tests/src/rules/no-named-default.js +++ b/tests/src/rules/no-named-default.js @@ -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: [{