Ctrl K
ComunidadGuías…

test/scripts/biome-command.test.ts

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
import { expect } from "@std/expect";
import { describe, it as test } from "@std/testing/bdd";
import { resolveBiomeCommand } from "#scripts/biome-command.ts";

describe("Biome command resolution", () => {
  test("returns the native biome command with the given args", async () => {
    expect(await resolveBiomeCommand(["lint", "source.ts"])).toEqual({
      args: ["lint", "source.ts"],
      command: "biome",
    });
  });
});