Move all test files to the tests folder

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-12-01 16:36:40 +01:00
parent 3aa99ca4df
commit 6c363e9313
5 changed files with 3 additions and 3 deletions
@@ -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
View File
@@ -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",