Skip to content

Commit

Permalink
test: fix fastify.ready() resolves undefined now
Browse files Browse the repository at this point in the history
  • Loading branch information
SomaticIT committed Sep 8, 2020
1 parent 2ae684b commit ff35dfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/plugin-config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("Config", () => {
});

await expect(fastify.ready())
.resolves.toBe(fastify);
.resolves.toBeUndefined();
});

test("should block app startup on invalid Open API v3 specification throws error ", async () => {
Expand Down Expand Up @@ -63,7 +63,7 @@ describe("Config", () => {
});

await expect(fastify.ready())
.resolves.toBe(fastify);
.resolves.toBeUndefined();
});

test("should load V3.0.1 definition with no error", async () => {
Expand All @@ -76,6 +76,6 @@ describe("Config", () => {
});

await expect(fastify.ready())
.resolves.toBe(fastify);
.resolves.toBeUndefined();
});
});

0 comments on commit ff35dfd

Please sign in to comment.