We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7592b20 commit e616709Copy full SHA for e616709
1 file changed
js_npm/rest/spacex-api/em/app-driver.js
@@ -1,7 +1,6 @@
1
const dbHandler = require("./db-handler");
2
const em = require("evomaster-client-js");
3
const http = require("http");
4
-const app = require("../src/app");
5
6
7
class AppController extends em.SutController {
@@ -47,7 +46,7 @@ class AppController extends em.SutController {
47
46
await dbHandler.startDb();
48
49
const app = require("../src/app");
50
- const server = http.createServer(app.callback());
+ this.server = http.createServer(app.callback());
51
this.server.listen(0, "localhost", () => {
52
this.port = this.server.address().port;
53
resolve("http://localhost:" + this.port);
0 commit comments