Skip to content

Commit

Permalink
chore: dont close men ow
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Feb 16, 2024
1 parent 618b673 commit 8a43e8c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/unit/server-token-registry.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import express from 'express';
import { Server } from 'http';
// import { Server } from 'http';
import * as mocks from './fixtures/token-registry.fixtures.js';

let server: Server;
// let server: Server;
const serverName = 'token registry server';
const port = 3100;

Expand All @@ -17,10 +17,11 @@ export const setup = () => {
},
);

server = app.listen({ port });
// server = app.listen({ port });
app.listen({ port });
};

export const teardown = () => {
console.log(`Closing ${serverName} mock on port ${port}`);
server.close();
// server.close();
};

0 comments on commit 8a43e8c

Please sign in to comment.