Skip to content

Commit 3876d88

Browse files
committed
fix(test): use valid BackendKind for TestVectorBackend
1 parent e6e9618 commit 3876d88

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/cortex/Query.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ import { generateKeyPair } from "../../core/crypto/sign";
99
import { ingestText } from "../../hippocampus/Ingest";
1010
import { query } from "../../cortex/Query";
1111
import { topKByScore } from "../../TopK";
12+
import type { BackendKind } from "../../BackendKind";
1213
import type { ModelProfile } from "../../core/ModelProfile";
1314
import type { VectorBackend } from "../../VectorBackend";
1415

1516
class TestVectorBackend implements VectorBackend {
16-
readonly kind = "test" as const;
17+
readonly kind: BackendKind = "wasm";
1718

1819
async dotMany(
1920
query: Float32Array,

0 commit comments

Comments
 (0)