fix tests

This commit is contained in:
Martin McKeaveney 2022-03-21 10:04:26 +00:00
parent aaf84b6995
commit 0f4c0f3ed4
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)