Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
[removed] an unnecessary test case from JSCompiler.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
thealjey committed Jan 8, 2016
1 parent 423522a commit 3b9ec58
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/JSCompiler.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,6 @@ describe('JSCompiler', () => {
cmp.optimize.restore();
});

it('calls webpack', () => {
expect(webpack).calledWith({
cache: {},
debug: true,
devtool: 'source-map',
entry: '/path/to/the/input/file.js',
output: {path: '/path/to/the/output', filename: 'file.js'},
module: {
noParse: /browser/,
loaders: [{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
query: {cacheDirectory: true, some: 'options'}
}]
}
});
});

it('overrides the compiler file system', () => {
expect(compiler.outputFileSystem).instanceof(MemoryFS);
});
Expand Down

0 comments on commit 3b9ec58

Please sign in to comment.