more info

This commit is contained in:
kvan7
2026-08-29 15:33:51 -05:00
parent bde60f1618
commit dfa24df15b
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -40,6 +40,11 @@ export const setupFetchMock = () => {
basePath,
url.replace(import.meta.env.BASE_URL, ""),
);
if (fs.existsSync(filePath)) {
console.log(`file exists ${filePath}`);
} else {
console.error(`file does not exist ${filePath}`);
}
const createResponse = (body: unknown, status = 200) => ({
ok: status >= 200 && status < 300,
+3
View File
@@ -249,6 +249,9 @@ async function loadStats(language: string) {
).arrayBuffer(),
);
console.log(`indexRef.length: ${indexRef.length}`);
console.log(`indexMatcher.length: ${indexMatcher.length}`);
STAT_BY_REF = function (ref: string) {
let start = dataBinarySearch(
indexRef,