From d31b1aaa22a71cd9e9f0949036cec5facb515616 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Thu, 26 Jun 2025 18:49:00 +0200 Subject: move tests --- webAO/utils/__tests__/paths.test.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 webAO/utils/__tests__/paths.test.ts (limited to 'webAO/utils/__tests__/paths.test.ts') diff --git a/webAO/utils/__tests__/paths.test.ts b/webAO/utils/__tests__/paths.test.ts deleted file mode 100644 index fe7b1bf..0000000 --- a/webAO/utils/__tests__/paths.test.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { getFilenameFromPath } from "../paths"; -jest.mock("../fileExists"); - -describe("getFilenameFromPath", () => { - const EXAMPLE_PATH = "localhost/stoneddiscord/assets.png"; - it("Should get the last value from a path", async () => { - const actual = getFilenameFromPath(EXAMPLE_PATH); - const expected = "assets.png"; - expect(actual).toBe(expected); - }); -}); -- cgit