diff --git a/dist/index.d.ts b/dist/index.d.ts index 845cb4c..24ede42 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -10,14 +10,14 @@ import type * as Effect from "effect/Effect"; import type * as Layer from "effect/Layer"; import type * as Schema from "effect/Schema"; import type * as Scope from "effect/Scope"; -import type * as V from "vitest"; +import type * as V from "vite-plus/test"; /** * Re-exports the `vitest` API unchanged. * * @stability unstable * @since 4.0.0 */ -export * from "vitest"; +export * from "vite-plus/test"; /** * Vitest test API without additional fixtures. * diff --git a/dist/index.js b/dist/index.js index 178cc74..9289296 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5,7 +5,7 @@ import * as internal from "./internal/internal.js"; * @stability unstable * @since 4.0.0 */ -export * from "vitest"; +export * from "vite-plus/test"; /** * Invokes the Effect Vitest equality-tester registration hook. * diff --git a/dist/internal/internal.js b/dist/internal/internal.js index 7138319..4092c67 100644 --- a/dist/internal/internal.js +++ b/dist/internal/internal.js @@ -12,7 +12,7 @@ import * as Schedule from "effect/Schedule"; import * as Scope from "effect/Scope"; import * as TestClock from "effect/testing/TestClock"; import * as TestConsole from "effect/testing/TestConsole"; -import * as V from "vitest"; +import * as V from "vite-plus/test"; const getCurrentSuite = V.TestRunner.getCurrentSuite; const runPromise = /*#__PURE__*/Effect.fnUntraced(function* (effect, _ctx) { const exit = yield* Effect.exit(effect); diff --git a/dist/utils.js b/dist/utils.js index b97edbe..7dfd64a 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -4,7 +4,7 @@ import * as Option from "effect/Option"; import * as Predicate from "effect/Predicate"; import * as Result from "effect/Result"; import * as assert from "node:assert"; -import { assert as vassert } from "vitest"; +import { assert as vassert } from "vite-plus/test"; // ---------------------------- // Primitives // ---------------------------- diff --git a/package.json b/package.json index 7dbb505..38d13cb 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,6 @@ "provenance": true }, "peerDependencies": { - "vitest": ">=5.0.0 <6.0.0", "effect": "^4.0.2" }, "devDependencies": { diff --git a/src/index.ts b/src/index.ts index 9d65132..4aadda8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,7 @@ import type * as Effect from "effect/Effect" import type * as Layer from "effect/Layer" import type * as Schema from "effect/Schema" import type * as Scope from "effect/Scope" -import type * as V from "vitest" +import type * as V from "vite-plus/test" import * as internal from "./internal/internal.ts" /** @@ -19,7 +19,7 @@ import * as internal from "./internal/internal.ts" * @stability unstable * @since 4.0.0 */ -export * from "vitest" +export * from "vite-plus/test" /** * Vitest test API without additional fixtures. diff --git a/src/internal/internal.ts b/src/internal/internal.ts index b43385b..4da79fd 100644 --- a/src/internal/internal.ts +++ b/src/internal/internal.ts @@ -14,7 +14,7 @@ import type * as Schema from "effect/Schema" import * as Scope from "effect/Scope" import * as TestClock from "effect/testing/TestClock" import * as TestConsole from "effect/testing/TestConsole" -import * as V from "vitest" +import * as V from "vite-plus/test" import type * as Vitest from "../index.ts" const getCurrentSuite = V.TestRunner.getCurrentSuite diff --git a/src/utils.ts b/src/utils.ts index 4473632..2d04404 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -17,7 +17,7 @@ import * as Option from "effect/Option" import * as Predicate from "effect/Predicate" import * as Result from "effect/Result" import * as assert from "node:assert" -import { assert as vassert } from "vitest" +import { assert as vassert } from "vite-plus/test" // ---------------------------- // Primitives