mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Organise files more consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user