Skip to content

Commit

Permalink
test: remove exclusive test marker and clean up test cases in coopera…
Browse files Browse the repository at this point in the history
…te function
  • Loading branch information
therialguz committed Nov 10, 2024
1 parent a4f2f1d commit fb76bc5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cooperate/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe("cooperate", () => {
expect(fn).toHaveBeenCalledWith(new CancelError());
});

it.only("should not start a cooperation if the signal is already aborted", async () => {
it("should not start a cooperation if the signal is already aborted", async () => {
const abortController = new AbortController();
abortController.abort();
const callback = vi.fn(async () => {});
Expand All @@ -118,7 +118,5 @@ describe("cooperate", () => {
await expect(promise).rejects.toThrow(new CancelError());
expect(callback).not.toHaveBeenCalled();
});

it.only("should ", () => {});
});
});

0 comments on commit fb76bc5

Please sign in to comment.