mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Move all test files to the tests folder
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { describe, expect, test } from "vitest";
|
||||
import { routeToPath } from "./index";
|
||||
import { testExports } from "./index";
|
||||
import { routeToPath } from "@app/router/index";
|
||||
import { testExports } from "@app/router/index";
|
||||
|
||||
// Defining the window.origin value, since vitest doesn't provide one.
|
||||
window.origin = "http://localhost:3000";
|
||||
+1
-1
@@ -29,7 +29,7 @@ export default defineConfig({
|
||||
deps: {
|
||||
inline: ["@ethersproject/signing-key", "@ethersproject/basex"],
|
||||
},
|
||||
setupFiles: "./vitest/setupVitest",
|
||||
setupFiles: "./tests/support/setupVitest",
|
||||
environment: "happy-dom",
|
||||
include: ["tests/unit/**/*.test.ts"],
|
||||
reporters: "verbose",
|
||||
|
||||
Reference in New Issue
Block a user