Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -1,6 +1,7 @@
import { describe, expect, it } from "vitest";
import { createSearchClient } from "./client.js";
import { createSearchIndex } from "./index-helper.js";
import { toPhysicalSearchIndexUid } from "./index-name.js";
import type { SearchIndexSchema } from "./schemas/index.js";
import { createInMemoryMeili } from "./testing.js";
@@ -27,7 +28,7 @@ describe("createSearchIndex — schema settings merge", () => {
await createSearchIndex({ client, schema: schemaWithSynonyms });
const settings = state.indexes.get("syn-index")?.settings;
const settings = state.indexes.get(toPhysicalSearchIndexUid("syn-index"))?.settings;
expect(settings).toMatchObject({
searchableAttributes: ["title"],
stopWords: ["the", "a"],
@@ -53,7 +54,7 @@ describe("createSearchIndex — schema settings merge", () => {
},
});
expect(state.indexes.get("syn-index")?.settings).toMatchObject({
expect(state.indexes.get(toPhysicalSearchIndexUid("syn-index"))?.settings).toMatchObject({
searchableAttributes: ["body"],
filterableAttributes: ["tenantId", "status"],
sortableAttributes: ["updatedAt"],