Skip to content

Commit

Permalink
fixed tests on Node 0.10 (because it's still easy)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmosher committed Aug 21, 2016
1 parent 8a68fbb commit c806630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/getExports.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ describe('getExports', function () {
})

context('issue #478: never parse non-whitelist extensions', function () {
const context = Object.assign({}, fakeContext,
const context = assign({}, fakeContext,
{ settings: { 'import/extensions': ['.js'] } })

let imports
Expand All @@ -318,7 +318,7 @@ describe('getExports', function () {

configs.forEach(([description, parserConfig]) => {
describe(description, function () {
const context = Object.assign({}, fakeContext,
const context = assign({}, fakeContext,
{ settings: {
'import/extensions': ['.js'],
'import/parsers': parserConfig,
Expand Down

0 comments on commit c806630

Please sign in to comment.