chore: align Node 26.7.0 toolchain
This commit is contained in:
1 parent
f94246e067
commit
6ed1b03e24
7 files changed
+57
-7
No files matched your search
@@ -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,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user