Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 78b770b

Browse files
committed
fix test
1 parent b1a3749 commit 78b770b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ describe('webpack preprocessor', function () {
118118
})
119119

120120
it('does not enable inline source maps when devtool is false', function () {
121-
this.options.webpackOptions = { devtool: false }
121+
const options = { webpackOptions: { devtool: false } }
122122

123-
return this.run().then(() => {
123+
return this.run(options).then(() => {
124124
expect(webpack.lastCall.args[0].devtool).to.be.false
125125
})
126126
})

0 commit comments

Comments
 (0)