Skip to content

Commit 046fefa

Browse files
Ratcoderthornjad
andauthored
Update test/cli.test.js
Co-authored-by: Jade Michael Thornton <[email protected]>
1 parent b9304ee commit 046fefa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/cli.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ test('--proxy requires you to specify a protocol', (t) => {
106106
t.plan(1);
107107

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

111-
tearDown(ecstatic, t);
111+
tearDown(server, t);
112112

113-
ecstatic.on('exit', (code) => {
113+
server.on('exit', (code) => {
114114
t.equal(code, 1);
115115
});
116116
});

0 commit comments

Comments
 (0)