Code: Select all
import fs from "node:fs";
import {test, expect} from "vitest";
test("Creating store", () => {
expect(fs.existsSync("my-file.dat")).toBe(true);
});
Soll ich vitest aufgeben?
Code: Select all
import fs from "node:fs";
import {test, expect} from "vitest";
test("Creating store", () => {
expect(fs.existsSync("my-file.dat")).toBe(true);
});