mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-20 01:07:23 +00:00
121 lines
3.9 KiB
Diff
121 lines
3.9 KiB
Diff
diff --git a/dist/index.d.ts b/dist/index.d.ts
|
|
index 0db951b..d6b6a6b 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 d10d1e7..6839558 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 6c1b1c1..cdc3b26 100644
|
|
--- a/dist/internal/internal.js
|
|
+++ b/dist/internal/internal.js
|
|
@@ -13,7 +13,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 = (effect, ctx) => Effect.runPromise(
|
|
// Only the test is interruptible: once the signal aborts, the fiber stops
|
|
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 068e75e..d14a80e 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -37,7 +37,6 @@
|
|
"provenance": true
|
|
},
|
|
"peerDependencies": {
|
|
- "vitest": ">=5.0.0 <6.0.0",
|
|
"effect": "^4.1.2"
|
|
},
|
|
"devDependencies": {
|
|
diff --git a/src/index.ts b/src/index.ts
|
|
index cb3bf6f..8024206 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 e6ab75a..3b938a4 100644
|
|
--- a/src/internal/internal.ts
|
|
+++ b/src/internal/internal.ts
|
|
@@ -15,7 +15,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
|