test/package-json-lint.test.ts: add back test/package.json to suite (#13011)

This commit is contained in:
Meghan Denny
2024-08-01 16:56:29 -07:00
committed by GitHub
parent f371a78568
commit b6715d2c64

View File

@@ -4,6 +4,7 @@ import { readdirSync, existsSync } from "fs";
const base = join(import.meta.dir, "../");
const packageJSONDirs = [
join(base, "test"),
...readdirSync(join(import.meta.dir, "js", "third_party"))
.map(a => join(import.meta.dir, "js", "third_party", a))
.filter(a => existsSync(join(a, "./package.json"))),