Skip to content
Snippets Groups Projects
Commit 2c33fef8 authored by Simon Belak's avatar Simon Belak
Browse files

Fix insights test

parent 4320a361
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ describe("xray integration tests", () => {
expect(fieldXRay.length).toBe(1)
expect(fieldXRay.find(CostSelect).length).toBe(1)
expect(app.find(InsightCard).length).toBe(1)
expect(app.find(InsightCard).length > 0).toBe(true)
expect(app.find(NormalRangeInsight).length).toBe(1)
})
})
......@@ -286,7 +286,7 @@ describe("xray integration tests", () => {
})
it("let you see card xray for a timeseries question", async () => {
await SettingsApi.put({ key: 'xray-max-cost', value: 'extended' })
await SettingsApi.put({ key: 'xray-max-cost', value: 'exact' })
const store = await createTestStore()
// make sure xrays are on and at the proper cost
store.pushPath(Urls.question(timeBreakoutQuestion.id()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment