chore: align Node 26.7.0 toolchain
CI / check (push) Successful in 35s
CI / release (push) Skipped
CI / deploy (push) Successful in 1m0s

This commit is contained in:
Simo committed 2026-08-24 19:12:11 +02:00
1 parent f94246e067
commit 6ed1b03e24
7 files changed
+57 -7

No files matched your search

+4 -1
View File
@@ -1,3 +1,4 @@
import { join } from "node:path";
import { beforeEach, describe, expect, it, vi } from "vitest";
const fsMock = vi.hoisted(() => ({
@@ -29,7 +30,9 @@ describe("getSoundtrackPath", () => {
);
});
it("joins the safe code into the soundtrack dir", () => {
expect(getSoundtrackPath("song").endsWith("mp3/song.mp3")).toBe(true);
expect(getSoundtrackPath("song").endsWith(join("mp3", "song.mp3"))).toBe(
true,
);
});
});