fix tests

This commit is contained in:
Martin McKeaveney 2022-03-21 10:04:26 +00:00
parent e2a361f19d
commit 808f50d644
1 changed files with 2 additions and 2 deletions

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)