2019-06-14 18:01:01 +02:00
|
|
|
const app = require("./testApp")();
|
|
|
|
const authenticateMaster = require("./authenticate");
|
2019-06-28 23:59:27 +02:00
|
|
|
const createNewApp = require("./createNewApp");
|
2019-06-14 18:01:01 +02:00
|
|
|
|
2019-06-19 23:05:53 +02:00
|
|
|
beforeAll(async () => await app.start())
|
2019-06-14 18:01:01 +02:00
|
|
|
|
2019-06-19 23:05:53 +02:00
|
|
|
afterAll(async () => await app.destroy())
|
2019-06-14 18:01:01 +02:00
|
|
|
|
|
|
|
describe("authenticateMaster", () => authenticateMaster(app));
|
2019-06-28 23:59:27 +02:00
|
|
|
describe("createNewApp", () => createNewApp(app));
|
2019-06-14 18:01:01 +02:00
|
|
|
|
|
|
|
|