You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -50,16 +48,13 @@ test('.lintText() - extends support with `esnext` option', t => {
50
48
});
51
49
52
50
test('always use the Babel parser so esnext syntax won\'t throw in normal mode',t=>{
53
-
// TODO: remove the `filename` option when https://github.com/sindresorhus/eslint-plugin-xo/issues/19 is fixed
54
-
constresults=fn.lintText('async function foo() {}\n\nfoo();\n',{filename: 'x'}).results;
51
+
constresults=fn.lintText('async function foo() {}\n\nfoo();\n').results;
55
52
t.is(results[0].errorCount,0);
56
53
});
57
54
58
55
test('.lintText() - regression test for #71',t=>{
59
-
// TODO: remove the `filename` option when https://github.com/sindresorhus/eslint-plugin-xo/issues/19 is fixed
0 commit comments