Moving test to where the functions are now.
This commit is contained in:
parent
8ca3f13a1c
commit
68f3197522
|
@ -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: "",
|
||||||
},
|
},
|
Loading…
Reference in New Issue