Skip to content

Commit 12d4f78

Browse files
committed
chore: fix test
1 parent b370696 commit 12d4f78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/client/src/__tests__/core/error-structure.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ describe("Error structure", () => {
8888
expect(result.error?.innerError instanceof WrapError).toBeTruthy();
8989
const prev = result.error?.innerError as WrapError;
9090
expect(prev.name).toEqual("WrapError");
91-
expect(prev.code).toEqual(WrapErrorCode.WRAPPER_INVOKE_ABORTED);
91+
expect(prev.code).toEqual(WrapErrorCode.URI_NOT_FOUND);
9292
expect(prev.reason).toContain(
93-
"A URI Resolver returned an error."
93+
"Unable to find URI wrap://authority/imported-invoke"
9494
);
95-
expect(prev.uri).toEqual("wrap://embed/http-uri-resolver@1.0.0");
95+
expect(prev.uri).toEqual("wrap://authority/imported-invoke");
9696
});
9797

9898
describe("Wasm wrapper - Assemblyscript", () => {

0 commit comments

Comments
 (0)