We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 398c773 commit 4bee993Copy full SHA for 4bee993
test/Entry.test.js
@@ -4,15 +4,13 @@ const assert = require('assert');
4
const addDevServerEntrypoints = require('../lib/util/addDevServerEntrypoints');
5
6
describe('Entry', () => {
7
- it('default to src if no entry point is given', (done) => {
+ it('defaults to src if no entry point is given', () => {
8
const webpackOptions = {};
9
const devServerOptions = {};
10
11
addDevServerEntrypoints(webpackOptions, devServerOptions);
12
13
- assert(webpackOptions.entry.length, 2);
14
- assert(webpackOptions.entry[1], './src');
15
-
16
- done();
+ assert.equal(webpackOptions.entry.length, 2);
+ assert.equal(webpackOptions.entry[1], './src');
17
});
18
0 commit comments