aboutsummaryrefslogtreecommitdiff
path: root/webAO/utils/__tests__/paths.test.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-06-26 18:49:00 +0200
committerstonedDiscord <Tukz@gmx.de>2025-06-26 18:49:00 +0200
commitd31b1aaa22a71cd9e9f0949036cec5facb515616 (patch)
treed806ae7d3add55cace2f4ce665130ac971319229 /webAO/utils/__tests__/paths.test.ts
parent7effd0f458663f5af821fb96b0dd23ef32b43e43 (diff)
move tests
Diffstat (limited to 'webAO/utils/__tests__/paths.test.ts')
-rw-r--r--webAO/utils/__tests__/paths.test.ts11
1 files changed, 0 insertions, 11 deletions
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);
- });
-});