1
0
Fork 0
mirror of synced 2024-09-17 17:57:47 +12:00

Moving test to where the functions are now.

This commit is contained in:
mike12345567 2023-09-14 17:12:09 +01:00
parent 8ca3f13a1c
commit 68f3197522

View file

@ -1,8 +1,8 @@
import * as utils from "../utils" import * as search from "../../app/rows/search"
describe("removeEmptyFilters", () => { describe("removeEmptyFilters", () => {
it("0 should not be removed", () => { it("0 should not be removed", () => {
const filters = utils.removeEmptyFilters({ const filters = search.removeEmptyFilters({
equal: { equal: {
column: 0, column: 0,
}, },
@ -11,7 +11,7 @@ describe("removeEmptyFilters", () => {
}) })
it("empty string should be removed", () => { it("empty string should be removed", () => {
const filters = utils.removeEmptyFilters({ const filters = search.removeEmptyFilters({
equal: { equal: {
column: "", column: "",
}, },