Skip to content

Commit

Permalink
test(codeceptjs): add link to issue 1167
Browse files Browse the repository at this point in the history
  • Loading branch information
delatrie committed Oct 31, 2024
1 parent 52a645c commit d53017e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/allure-codeceptjs/test/spec/reporters.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { describe, expect, it } from "vitest";
import { issue } from "allure-js-commons";
import { runCodeceptJsInlineTest } from "../utils.js";

describe("mocha reporters", () => {
Expand All @@ -15,6 +16,8 @@ describe("mocha reporters", () => {
});

it("cli --steps should work out-of-box", async () => {
await issue("1167");

const { tests, stdout } = await runCodeceptJsInlineTest(
{
"foo.test.js": `
Expand Down Expand Up @@ -143,4 +146,4 @@ describe("mocha reporters", () => {
expect(tests).toEqual([expect.objectContaining({ name: "bar" })]);
expect(stdoutLines).toEqual(expect.arrayContaining([String.raw`{"foo":{"bar":"baz"}}`]));
});
});
});

0 comments on commit d53017e

Please sign in to comment.