Skip to content

Commit

Permalink
Update test/cli.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jade Michael Thornton <jademichael@jmthornton.net>
  • Loading branch information
Ratcoder and thornjad committed Oct 12, 2021
1 parent b9304ee commit 046fefa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/cli.test.js
Expand Up @@ -106,11 +106,11 @@ test('--proxy requires you to specify a protocol', (t) => {
t.plan(1);

const options = ['.', '--proxy', 'google.com'];
const ecstatic = startEcstatic(options);
const server = startServer(options);

tearDown(ecstatic, t);
tearDown(server, t);

ecstatic.on('exit', (code) => {
server.on('exit', (code) => {
t.equal(code, 1);
});
});

0 comments on commit 046fefa

Please sign in to comment.