mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
14 lines
311 B
JavaScript
14 lines
311 B
JavaScript
|
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 }/tests/` );
|
||
|
} );
|
||
|
}
|
||
|
|
||
|
runServer();
|