|
|
@ -11,10 +11,10 @@ describe("run misc tests", () => { |
|
|
await config.init() |
|
|
await config.init() |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
describe("/analytics", () => { |
|
|
describe("/bbtel", () => { |
|
|
it("check if analytics enabled", async () => { |
|
|
it("check if analytics enabled", async () => { |
|
|
const res = await request |
|
|
const res = await request |
|
|
.get(`/api/analytics`) |
|
|
.get(`/api/bbtel`) |
|
|
.set(config.defaultHeaders()) |
|
|
.set(config.defaultHeaders()) |
|
|
.expect("Content-Type", /json/) |
|
|
.expect("Content-Type", /json/) |
|
|
.expect(200) |
|
|
.expect(200) |
|
|
|