From 254f40f3823803d3feec2d8ba99f6a03732bbc14 Mon Sep 17 00:00:00 2001 From: Dmitry Baev Date: Mon, 13 Jan 2025 17:42:39 +0000 Subject: [PATCH] fix windows path --- packages/allure-js-commons/test/sdk/utils.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/allure-js-commons/test/sdk/utils.spec.ts b/packages/allure-js-commons/test/sdk/utils.spec.ts index c75deb1ef..b19d1715c 100644 --- a/packages/allure-js-commons/test/sdk/utils.spec.ts +++ b/packages/allure-js-commons/test/sdk/utils.spec.ts @@ -518,7 +518,7 @@ describe("getMessageAndTraceFromError", () => { it("should return trace from error", () => { const result = getMessageAndTraceFromError(new Error("some message")); expect(result).toMatchObject({ - trace: expect.stringContaining("allure-js-commons/test/sdk/utils.spec.ts"), + trace: expect.stringMatching(/allure-js-commons.test.sdk.utils\.spec\.ts/), }); });