Skip to content

Commit

Permalink
fix windows path
Browse files Browse the repository at this point in the history
  • Loading branch information
baev committed Jan 13, 2025
1 parent 4255863 commit 254f40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/allure-js-commons/test/sdk/utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/),
});
});

Expand Down

0 comments on commit 254f40f

Please sign in to comment.