1
0
Fork 0
mirror of synced 2024-09-11 15:08:05 +12:00

fix tests

This commit is contained in:
Martin McKeaveney 2022-03-21 10:04:26 +00:00
parent aaf84b6995
commit 0f4c0f3ed4

View file

@ -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)