Clean
This commit is contained in:
parent
7b5220116b
commit
9c08a40e7e
|
@ -193,7 +193,7 @@ describe("runLuceneQuery", () => {
|
||||||
expect(runLuceneQuery(docs, query).map(row => row.order_id)).toEqual([2, 3])
|
expect(runLuceneQuery(docs, query).map(row => row.order_id)).toEqual([2, 3])
|
||||||
})
|
})
|
||||||
|
|
||||||
test.each([[523, 259], "523,259"])(
|
it.each([[523, 259], "523,259"])(
|
||||||
"should return rows with matches on numeric oneOf filter",
|
"should return rows with matches on numeric oneOf filter",
|
||||||
input => {
|
input => {
|
||||||
const query = buildQuery({
|
const query = buildQuery({
|
||||||
|
@ -208,7 +208,7 @@ describe("runLuceneQuery", () => {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
test.each([
|
it.each([
|
||||||
[false, []],
|
[false, []],
|
||||||
[true, [1, 2, 3]],
|
[true, [1, 2, 3]],
|
||||||
])("should return %s if allOr is %s ", (allOr, expectedResult) => {
|
])("should return %s if allOr is %s ", (allOr, expectedResult) => {
|
||||||
|
|
Loading…
Reference in New Issue