Skip to content
Snippets Groups Projects
Commit 7699bac9 authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix tests

parent 29b2b737
Branches
Tags
No related merge requests found
......@@ -164,16 +164,6 @@ describe("query_time", () => {
generateTimeFilterValuesDescriptions(["time-interval", null, 1, "day"]),
).toEqual(["Tomorrow"]);
});
it("should format legacy 'TIME_INTERVAL' correctly", () => {
expect(
generateTimeFilterValuesDescriptions([
"TIME_INTERVAL",
null,
-30,
"day",
]),
).toEqual(["Past 30 Days"]);
});
});
describe("computeFilterTimeRange", () => {
......
......@@ -3,7 +3,6 @@ import ReactTestUtils from "react-dom/test-utils";
import Dimension from "metabase-lib/lib/Dimension";
import {
metadata,
ORDERS_CREATED_DATE_FIELD_ID,
ORDERS_PRODUCT_FK_FIELD_ID,
PRODUCT_CATEGORY_FIELD_ID,
PRODUCT_CREATED_AT_FIELD_ID,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment