chore: add vitest project config and yarn constraints
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { describe, expect, it, vi } from "vitest"
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest"
|
||||
|
||||
vi.mock("./getPrefix", () => ({
|
||||
getPrefix: vi.fn(() => "gitsha"),
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||
"typescript": "5.8.3",
|
||||
"vitest": "^3.2.3"
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
"prettier": {
|
||||
"semi": false,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { describe, expect } from "vitest"
|
||||
import { describe, expect, it } from "vitest"
|
||||
|
||||
import { chunk } from "./chunk"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user