Skip to content

Commit 61f23e4

Browse files
committed
update tests
1 parent b2dc955 commit 61f23e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

template/test/integration/api.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe("Test Socket.IO API gateway", () => {
259259

260260
it("test 'greeter.welcome'", async () => {
261261
const res = await callAwait(client, "greeter.welcome", { name: "Socket.IO" });
262-
expect(res).toBe("Welcome, Socket.IO");
262+
expect(res).toBe("Welcome, SOCKET.IO");
263263
});
264264
});
265265

@@ -442,7 +442,7 @@ describe("Test GraphQL API gateway", () => {
442442
`;
443443
const res = await request(`http://localhost:${port}/graphql`, query);
444444
expect(res).toEqual({
445-
welcome: "Welcome, GraphQL",
445+
welcome: "Welcome, GRAPHQL",
446446
});
447447
});
448448
});

template/test/unit/services/greeter.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe("Test 'greeter' service", () => {
2121
describe("Test 'greeter.welcome' action", () => {
2222
it("should return with 'Welcome'", async () => {
2323
const res = await broker.call("greeter.welcome", { name: "Adam" });
24-
expect(res).toBe("Welcome, Adam");
24+
expect(res).toBe("Welcome, ADAM");
2525
});
2626

2727
it("should reject an ValidationError", async () => {

0 commit comments

Comments
 (0)