Skip to content

Commit

Permalink
refactor: unnecesseary resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Nov 13, 2020
1 parent 72f23fb commit 0d2f974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/fixtures/simple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export async function startTServer(
httpServer.once('error', reject);
httpServer.once('listening', resolve);
try {
httpServer.listen(0, resolve);
httpServer.listen(0);
} catch (err) {
reject(err);
}
Expand Down

0 comments on commit 0d2f974

Please sign in to comment.