Skip to content
Snippets Groups Projects
Unverified Commit 884901f2 authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Remove "is empty" and "not empty" from time-series chrome (#44164)

* Remove "is empty" and "not empty" from time-series chrome

* Fix unit test
parent 9decd3e8
No related branches found
No related tags found
No related merge requests found
......@@ -43,14 +43,4 @@ export const OPERATOR_OPTIONS: OperatorOption[] = [
value: "between",
operators: ["between"],
},
{
label: t`Is empty`,
value: "is-null",
operators: ["is-null"],
},
{
label: t`Not empty`,
value: "not-null",
operators: ["not-null"],
},
];
......@@ -76,13 +76,11 @@ describe("TimeseriesFilterPicker", () => {
await userEvent.click(screen.getByText("All time"));
await userEvent.click(await screen.findByDisplayValue("All time"));
await userEvent.click(await screen.findByText("Is empty"));
await userEvent.click(await screen.findByText("Current"));
await userEvent.click(screen.getByText("Apply"));
expect(getNextFilterParts()).toMatchObject({
operator: "is-null",
column: expect.anything(),
values: [],
value: "current",
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment