@molgenis/vip-report-template 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -197,7 +197,7 @@ function createQueryFilterInheritanceMatch(
|
|
|
197
197
|
});
|
|
198
198
|
queryParts.push(createQueryComposed(queryPartsUndefined, "or"));
|
|
199
199
|
}
|
|
200
|
-
return createQueryComposed(queryParts, "
|
|
200
|
+
return createQueryComposed(queryParts, "or");
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
function createQueryFilterDeNovo(filter: ConfigFilterDeNovo, filterValue: FilterValueDeNovo): Query {
|
|
@@ -234,6 +234,25 @@ describe("query composed filters", () => {
|
|
|
234
234
|
operator: "or",
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
|
+
|
|
238
|
+
test("match and potential", () => {
|
|
239
|
+
expect(createQueryFilterComposed(config, ["true","potential"])).toStrictEqual(
|
|
240
|
+
{
|
|
241
|
+
args: [{
|
|
242
|
+
selector: ["s", 1, "VIM"],
|
|
243
|
+
operator: "==",
|
|
244
|
+
args: 1,
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
args: [
|
|
248
|
+
{ selector: ["s", 1, "VIM"], operator: "==", args: null },
|
|
249
|
+
{ selector: ["s", 1, "VIM"], operator: "==", args: undefined },
|
|
250
|
+
],
|
|
251
|
+
operator: "or",
|
|
252
|
+
}],
|
|
253
|
+
operator: "or",
|
|
254
|
+
});
|
|
255
|
+
});
|
|
237
256
|
});
|
|
238
257
|
|
|
239
258
|
describe("deNovo", () => {
|