Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh committed Oct 18, 2024
1 parent a43082c commit 2380eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions __test__/genBlocksInterval.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ beforeAll(async () => {
devBlockIntervalMs: 100,
tcpPort: udpAndTcpPort,
udpPort: udpAndTcpPort,
jsonrpcHttpPort: jsonrpcHttpPort
jsonrpcHttpPort: jsonrpcHttpPort,
});

await server.start();
return () => server.stop();
return () => server.stop();
});

describe("genBlocksInterval", () => {
Expand Down
2 changes: 0 additions & 2 deletions __test__/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ describe("server", () => {
expect(status.networkId).toBe(1234);

await server.stop();
// TODO UPDATE
await wait(2000);
await expect(async () => client.getStatus()).rejects.toThrow();
});
});

0 comments on commit 2380eb4

Please sign in to comment.