mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-29 08:40:45 +02:00
fix github action
This commit is contained in:
@@ -9,7 +9,6 @@ const build_light = env && env.includes(".light");
|
|||||||
const build_compact = env && env.includes(".compact");
|
const build_compact = env && env.includes(".compact");
|
||||||
const build_esm = !env || env.startsWith("module");
|
const build_esm = !env || env.startsWith("module");
|
||||||
const Charset = _Charset || (await import("../src/charset.js")).default;
|
const Charset = _Charset || (await import("../src/charset.js")).default;
|
||||||
const EnglishPreset = (await import("../src/lang/en.js")).default;
|
|
||||||
|
|
||||||
describe("Github Issues", function(){
|
describe("Github Issues", function(){
|
||||||
|
|
||||||
@@ -89,8 +88,9 @@ describe("Github Issues", function(){
|
|||||||
}]);
|
}]);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("#486", function(){
|
it("#486", async function(){
|
||||||
|
|
||||||
|
const EnglishPreset = (await import("../src/lang/en.js")).default;
|
||||||
const encoder = new Encoder(Charset.LatinDefault, EnglishPreset);
|
const encoder = new Encoder(Charset.LatinDefault, EnglishPreset);
|
||||||
const index = new Index({
|
const index = new Index({
|
||||||
tokenize: "full",
|
tokenize: "full",
|
||||||
@@ -321,8 +321,9 @@ describe("Github Issues", function(){
|
|||||||
}]);
|
}]);
|
||||||
});
|
});
|
||||||
|
|
||||||
if(!build_light) it("#503", function(){
|
if(!build_light) it("#503", async function(){
|
||||||
|
|
||||||
|
const EnglishPreset = (await import("../src/lang/en.js")).default;
|
||||||
const DOCS = {
|
const DOCS = {
|
||||||
"./doc-1.txt": `
|
"./doc-1.txt": `
|
||||||
Floor Stream
|
Floor Stream
|
||||||
|
Reference in New Issue
Block a user