Skip to content

Commit

Permalink
fixup! [Tests] export: add tests for a name collision with `export …
Browse files Browse the repository at this point in the history
…* from`
  • Loading branch information
ljharb committed Aug 21, 2020
1 parent b2d3707 commit 569d726
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/rules/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var ruleTester = new RuleTester()
, rule = require('rules/export')

ruleTester.run('export', rule, {
valid: [
valid: [].concat(
test({ code: 'import "./malformed.js"' }),

// default
Expand Down Expand Up @@ -43,8 +43,8 @@ ruleTester.run('export', rule, {
parserOptions: {
ecmaVersion: 2020,
},
})),
],
})) || [],
),

invalid: [
// multiple defaults
Expand Down

0 comments on commit 569d726

Please sign in to comment.