Organise files more consistently

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-12-22 16:46:08 +01:00
parent e86accafae
commit caa83db480
130 changed files with 720 additions and 707 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { cached } from "@app/cache";
import { cached } from "@app/lib/cache";
import { expect, test, vi } from "vitest";
test("it caches undefined return values", async () => {
+2 -2
View File
@@ -1,6 +1,6 @@
import { describe, expect, test } from "vitest";
import { routeToPath } from "@app/router/index";
import { testExports } from "@app/router/index";
import { routeToPath } from "@app/lib/router";
import { testExports } from "@app/lib/router";
// Defining the window.origin value, since vitest doesn't provide one.
window.origin = "http://localhost:3000";
+2 -2
View File
@@ -1,8 +1,8 @@
import type { Wallet } from "@app/wallet";
import type { Wallet } from "@app/lib/wallet";
import { BigNumber } from "ethers";
import { describe, expect, test } from "vitest";
import * as utils from "@app/utils";
import * as utils from "@app/lib/utils";
describe("Conversions", () => {
test("toWei", () => {