From 521342fe53eda6d625a4734c8487945fafa300ef Mon Sep 17 00:00:00 2001 From: Johan Nyman Date: Wed, 27 Sep 2023 15:09:21 +0200 Subject: [PATCH] chore: make test more roboust --- tests/internal-tests/src/__tests__/issues.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/internal-tests/src/__tests__/issues.spec.ts b/tests/internal-tests/src/__tests__/issues.spec.ts index b12834cc..6837ebe3 100644 --- a/tests/internal-tests/src/__tests__/issues.spec.ts +++ b/tests/internal-tests/src/__tests__/issues.spec.ts @@ -131,7 +131,9 @@ describe('Handle unhappy paths', () => { statusInfo: { // status: expect.stringMatching(/fulfilled/), statusReason: { - tech: expect.stringMatching(/timeout.*checkPackageContainerWriteAccess.*Accessor.*/i), + tech: expect.stringMatching( + /timeout.*(checkPackageContainerWriteAccess|checkPackageReadAccess).*Accessor.*/i + ), }, }, })