Skip to content

Commit

Permalink
Move timeout configuration to describe block
Browse files Browse the repository at this point in the history
  • Loading branch information
valscion committed Oct 1, 2021
1 parent caf183f commit 2ad19a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/dev-server.js
Expand Up @@ -11,12 +11,12 @@ describe('Webpack Dev Server', function () {
beforeAll(deleteOutputDirectory);
afterEach(deleteOutputDirectory);

const timeout = 15000;
jest.setTimeout(timeout);

it('should save report file to the output directory', function (done) {
const timeout = 15000;
const startedAt = Date.now();

jest.setTimeout(timeout);

const devServer = exec(`${__dirname}/../node_modules/.bin/webpack-dev-server --config ${WEBPACK_CONFIG_PATH}`, {
cwd: ROOT
});
Expand Down

0 comments on commit 2ad19a7

Please sign in to comment.