Skip to content

Commit

Permalink
Update spec for changed error type
Browse files Browse the repository at this point in the history
  • Loading branch information
javagl committed Sep 28, 2024
1 parent 8eebc95 commit 9bfe61a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe("Scene/Model/Extensions/Gpm/GltfGpmLoader", function () {
};
expect(function () {
GltfGpmLoader.load(gltfGpmLocalJson);
}).toThrowDeveloperError();
}).toThrowError();
});

it("load throws for storageType Direct without anchorPointsDirect", async function () {
Expand All @@ -21,7 +21,7 @@ describe("Scene/Model/Extensions/Gpm/GltfGpmLoader", function () {
};
expect(function () {
GltfGpmLoader.load(gltfGpmLocalJson);
}).toThrowDeveloperError();
}).toThrowError();
});

it("load throws for storageType Direct without covarianceDirectUpperTriangle", async function () {
Expand All @@ -36,7 +36,7 @@ describe("Scene/Model/Extensions/Gpm/GltfGpmLoader", function () {
};
expect(function () {
GltfGpmLoader.load(gltfGpmLocalJson);
}).toThrowDeveloperError();
}).toThrowError();
});

it("load returns result for valid JSON for storageType Direct", async function () {
Expand Down

0 comments on commit 9bfe61a

Please sign in to comment.