deno.land / x / lume@v2.1.4 / tests / __snapshots__ / search.test.ts.snap
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091export const snapshot = {};
snapshot[`Search by Tags 1`] = `"(data) => data.tags?.includes(value0) && data.tags?.includes(value1)"`;
snapshot[`Search by NOT Tags 1`] = `"(data) => data.tags?.includes(value0) && !data.tags?.includes(value1)"`;
snapshot[`Search by Equal 1`] = `"(data) => data.foo === value0"`;
snapshot[`Search by Equal undefined 1`] = `"(data) => data.foo === value0"`;
snapshot[`Search by Equal null 1`] = `"(data) => data.foo === value0"`;
snapshot[`Search by Upper than 1`] = `"(data) => data.foo > value0"`;
snapshot[`Search by Upper or equals than 1`] = `"(data) => data.foo >= value0"`;
snapshot[`Search by Lower than 1`] = `"(data) => data.foo < value0"`;
snapshot[`Search by Lower or equals than 1`] = `"(data) => data.foo <= value0"`;
snapshot[`Search by Not Equal 1`] = `"(data) => data.foo !== value0"`;
snapshot[`Search by Not Equal alt 1`] = `"(data) => data.foo !== value0"`;
snapshot[`Search by Starts With 1`] = `"(data) => data.foo?.startsWith(value0)"`;
snapshot[`Search by NOT Starts With 1`] = `"(data) => !data.foo?.startsWith(value0)"`;
snapshot[`Search by Ends With 1`] = `"(data) => data.foo?.endsWith(value0)"`;
snapshot[`Search by Contains 1`] = `"(data) => data.foo?.includes(value0)"`;
snapshot[`Search by Tags with OR 1`] = `"(data) => value0.some((i) => data.tags?.includes(i))"`;
snapshot[`Search by Equal with OR 1`] = `"(data) => value0.some((i) => data.foo === i)"`;
snapshot[`Search by Not Equal with OR 1`] = `"(data) => value0.some((i) => data.foo !== i)"`;
snapshot[`Search by Starts With with OR 1`] = `"(data) => value0.some((i) => data.foo?.startsWith(i))"`;
snapshot[`Search by Ends With with OR 1`] = `"(data) => value0.some((i) => data.foo?.endsWith(i))"`;
snapshot[`Search by Contains with OR 1`] = `"(data) => value0.some((i) => data.foo?.includes(i))"`;
snapshot[`Search Date by Equal 1`] = `"(data) => data.foo?.getTime() === value0.getTime()"`;
snapshot[`Search Date by Not Equal 1`] = `"(data) => data.foo?.getTime() !== value0.getTime()"`;
snapshot[`Search Date by lower than 1`] = `"(data) => data.foo?.getTime() < value0.getTime()"`;
snapshot[`Search Date by lower or equals than 1`] = `"(data) => data.foo?.getTime() <= value0.getTime()"`;
snapshot[`Search Date by upper than 1`] = `"(data) => data.foo?.getTime() > value0.getTime()"`;
snapshot[`Search Date by upper or equals than 1`] = `"(data) => data.foo?.getTime() >= value0.getTime()"`;
snapshot[`Sort by one field 1`] = `[Function: anonymous]`;
snapshot[`Sort by one field DESC 1`] = `[Function: anonymous]`;
snapshot[`Sort by two fields 1`] = `[Function: anonymous]`;
snapshot[`Sort by two fields, second is DESC 1`] = `[Function: anonymous]`;
snapshot[`Test the file searcher 1`] = `[ "/404.html", "/favicon.png", "/overrided-page2/index.html", "/page5/index.html", "/page_3", "/pages/new-name/page7/index.html", "/pages/page4/index.html", "/pages/page6/index.html", "/static/index.html", "/styles.css",]`;
snapshot[`Test the file searcher 2`] = `[ "/favicon.png",]`;
snapshot[`Test the file searcher 3`] = `[ "/favicon.png",]`;
Version Info