blob: 09fe0da4c6136ba5135b5652a7b74424339998ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { createTestServer } from "./createTestServer.js";
const port = process.env.PORT || 3000;
async function runServer() {
const app = await createTestServer();
app.listen( { port, host: "0.0.0.0" }, function() {
console.log( `Open tests at http://localhost:${ port }/test/` );
} );
}
runServer();
|