Skip to content

Commit 89930d1

Browse files
bjohansebasCopilot
andauthored
fixup!
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 67e2a15 commit 89930d1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

test/e2e/api.test.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@ describe("API", () => {
8181

8282
expect(server.options).toEqual({});
8383

84-
await server.start();
85-
await server.stop();
86-
});
84+
try {
85+
await server.start();
86+
} finally {
87+
await server.stop();
88+
}
8789
});
8890

8991
describe("latest async API", () => {

0 commit comments

Comments
 (0)