Remove only modifier

This commit is contained in:
Arnaud 2025-05-28 17:37:59 +02:00
parent 53598f1fda
commit e25c240939
No known key found for this signature in database
GPG Key ID: B8FBC178F10CA7AE

View File

@ -2,7 +2,7 @@ import { afterEach, assert, describe, it, vi } from "vitest";
import { Fetch } from "../fetch-safe/fetch-safe"; import { Fetch } from "../fetch-safe/fetch-safe";
import { CodexError } from "../errors/errors"; import { CodexError } from "../errors/errors";
describe.only("fetch", () => { describe("fetch", () => {
afterEach(() => { afterEach(() => {
vi.restoreAllMocks(); vi.restoreAllMocks();
}); });
@ -26,7 +26,7 @@ describe.only("fetch", () => {
assert.deepStrictEqual(result, { error: true, data: error }); assert.deepStrictEqual(result, { error: true, data: error });
}); });
it.only("returns an error when the json parsing failed", async () => { it("returns an error when the json parsing failed", async () => {
const mockResponse = { const mockResponse = {
ok: true, ok: true,
status: 200, status: 200,