diff --git a/tests/NationNameLength.test.ts b/tests/NationNameLength.test.ts index 5bfc4960b..9d7df858f 100644 --- a/tests/NationNameLength.test.ts +++ b/tests/NationNameLength.test.ts @@ -1,6 +1,5 @@ import fs from "fs"; import { globSync } from "glob"; -import path from "path"; type Nation = { name?: string; @@ -12,9 +11,7 @@ type Manifest = { describe("Map manifests: nation name length constraint", () => { test("All nations' names must be ≤ 27 characters", () => { - const manifestPaths = globSync( - path.resolve(process.cwd(), "resources/maps/**/manifest.json"), - ); + const manifestPaths = globSync("resources/maps/**/manifest.json"); expect(manifestPaths.length).toBeGreaterThan(0);