Skip to content

Commit

Permalink
remove server.close
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Oct 27, 2023
1 parent 1fac9d6 commit 34aebc9
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/request-node/test/getChannelsByTopic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ describe('getChannelsByTopic', () => {

afterAll(async () => {
await requestNodeInstance.close();
server.close();
});

it('responds with the correct transactions to requests with an existing topic', async () => {
Expand Down
1 change: 0 additions & 1 deletion packages/request-node/test/getConfirmedTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ describe('getConfirmedTransaction', () => {

afterAll(async () => {
await requestNodeInstance.close();
server.close();
});

it('responds with status 200 to requests with correct values', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ describe('getTransactionsByChannelId', () => {

afterAll(async () => {
await requestNodeInstance.close();
server.close();
});

it('responds with the correct transactions to requests with an existing channel id', async () => {
Expand Down
1 change: 0 additions & 1 deletion packages/request-node/test/ipfsAdd.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ describe('ipfsAdd', () => {

afterAll(async () => {
await requestNodeInstance.close();
server.close();
});

it('responds with status 200 to requests with correct values', async () => {
Expand Down
1 change: 0 additions & 1 deletion packages/request-node/test/persistTransaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ describe('persistTransaction', () => {

afterAll(async () => {
await requestNodeInstance.close();
server.close();
jest.restoreAllMocks();
axiosMock.reset();
});
Expand Down
1 change: 0 additions & 1 deletion packages/request-node/test/requestNode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ describe('requestNode server', () => {

afterAll(async () => {
await requestNodeInstance.close();
server.close();
});

it('responds with status 404 to unimplemented requests', async () => {
Expand Down

0 comments on commit 34aebc9

Please sign in to comment.