diff --git a/examples b/examples index b17f5c8c..1a189ba3 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit b17f5c8c66b865441455ae07bcc04b60293e7dee +Subproject commit 1a189ba3101ffdc708eb7788fe87b56b4f7b3e3c diff --git a/src/spicedb-common/examples.test.ts b/src/spicedb-common/examples.test.ts index 2369227c..50594aa9 100644 --- a/src/spicedb-common/examples.test.ts +++ b/src/spicedb-common/examples.test.ts @@ -6,7 +6,10 @@ describe("LoadExamples", () => { it("should correctly parse and return examples and skip those that are missing files", () => { const examples = LoadExamples(); - expect(examples).toHaveLength(8); + expect(examples.length).toBeGreaterThan(0); + const ids = examples.map((e) => e.id); + expect(ids).toContain("basic-rebac"); + expect(ids).not.toContain("multiple-validation-files"); examples.forEach(function (example) { expect(example.id).not.toBeNull();