diff --git a/packages/zoe/test/unitTests/test-zoe.js b/packages/zoe/test/unitTests/test-zoe.js index 2ceaaf2fe1c..c2937823ea2 100644 --- a/packages/zoe/test/unitTests/test-zoe.js +++ b/packages/zoe/test/unitTests/test-zoe.js @@ -143,10 +143,7 @@ test(`E(zoe).getPublicFacet - no instance`, async t => { // @ts-expect-error deliberate invalid arguments for testing await t.throwsAsync(() => E(zoe).getPublicFacet(), { message: - // Golden test uses RegExp "Or" pattern to tolerate earlier versions of - // Endo. - // TODO: Remove first disjunct once no longer needed - /In "getPublicFacet" method of \(ZoeService\): (?:arg 0: .*"\[undefined\]" - Must be a remotable|Expected at least 1 arguments: \[\])/, + /In "getPublicFacet" method of \(ZoeService\): Expected at least 1 arguments: \[\]/, }); }); @@ -177,10 +174,7 @@ test(`zoe.getIssuers - no instance`, async t => { // @ts-expect-error invalid arguments for testing await t.throwsAsync(() => E(zoe).getIssuers(), { message: - // Golden test uses RegExp "Or" pattern to tolerate earlier versions of - // Endo. - // TODO: Remove first disjunct once no longer needed - /In "getIssuers" method of \(ZoeService\): (?:arg 0: .*"\[undefined\]" - Must be a remotable|Expected at least 1 arguments: \[\])/, + /In "getIssuers" method of \(ZoeService\): Expected at least 1 arguments: \[\]/, }); }); @@ -211,9 +205,7 @@ test(`zoe.getBrands - no instance`, async t => { // @ts-expect-error invalid arguments for testing await t.throwsAsync(() => E(zoe).getBrands(), { message: - // Or pattern of golden error tolerant across versions of endo. - // TODO: Remove first disjunct once no longer needed - /In "getBrands" method of \(ZoeService\): (?:arg 0: .*"\[undefined\]" - Must be a remotable|Expected at least 1 arguments: \[\])/, + /In "getBrands" method of \(ZoeService\): Expected at least 1 arguments: \[\]/, }); }); @@ -269,9 +261,7 @@ test(`zoe.getTerms - no instance`, async t => { // @ts-expect-error invalid arguments for testing await t.throwsAsync(() => E(zoe).getTerms(), { message: - // Or pattern of golden error tolerant across versions of endo. - // TODO: Remove first disjunct once no longer needed - /In "getTerms" method of \(ZoeService\): (?:arg 0: .*"\[undefined\]" - Must be a remotable|Expected at least 1 arguments: \[\])/, + /In "getTerms" method of \(ZoeService\): Expected at least 1 arguments: \[\]/, }); });