Skip to content

Commit

Permalink
eslint-module-utils: Fix test coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
sompylasar committed Jun 5, 2017
1 parent 2bc4f7f commit 314ead8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/core/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('resolve', function () {
})

it('resolves via a custom resolver with interface version 1', function () {
const testContext = utils.testContext({ 'import/resolver': './foo-bar-resolver-v1'})
const testContext = utils.testContext({ 'import/resolver': './foo-bar-resolver-v1' })

expect(resolve( '../files/foo'
, Object.assign({}, testContext, { getFilename: function () { return utils.getFilename('foo.js') } })
Expand All @@ -28,7 +28,7 @@ describe('resolve', function () {
})

it('resolves via a custom resolver with interface version 1 assumed if not specified', function () {
const testContext = utils.testContext({ 'import/resolver': './foo-bar-resolver-no-version'})
const testContext = utils.testContext({ 'import/resolver': './foo-bar-resolver-no-version' })

expect(resolve( '../files/foo'
, Object.assign({}, testContext, { getFilename: function () { return utils.getFilename('foo.js') } })
Expand All @@ -44,7 +44,7 @@ describe('resolve', function () {
})

it('resolves via a custom resolver with interface version 2', function () {
const testContext = utils.testContext({ 'import/resolver': './foo-bar-resolver-v2'})
const testContext = utils.testContext({ 'import/resolver': './foo-bar-resolver-v2' })
const testContextReports = []
testContext.report = function (reportInfo) {
testContextReports.push(reportInfo)
Expand Down

0 comments on commit 314ead8

Please sign in to comment.