Skip to content

Commit

Permalink
Update packages/server/src/__tests__/plugin/drainHttpServer/stoppable…
Browse files Browse the repository at this point in the history
….test.ts

Co-authored-by: Trevor Scheer <trevor.scheer@gmail.com>
  • Loading branch information
glasser and trevor-scheer committed Dec 8, 2022
1 parent 44c4ec3 commit 8fcb208
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -224,7 +224,7 @@ Object.keys(schemes).forEach((schemeName) => {
gracefully = stopReturn;
});

// Wait a while. Stopping should not have happened yet,
// Wait a while (number chosen here is arbitrary). Stopping should not have happened yet.
await a.delay(500);
expect(closeCalled).toBe(false);
expect(gracefully).toBeNull();
Expand Down

0 comments on commit 8fcb208

Please sign in to comment.