[art-prep] BoardTest: The placeholder comparison gets 30 s, as it timed out at 5 s twice on the release runner

This commit is contained in:
2026-12-02 19:59:31 +01:00
parent 666c78f5fe
commit 1cb1ffb8c8
2 changed files with 36 additions and 1 deletions
+2 -1
View File
@@ -67,7 +67,8 @@ describe('the stand-ins', () => {
}
});
it('art/placeholders/ holds exactly what the generator makes (run pnpm art:board after changing the manifest)', () => {
// 169 files read and compared one by one: 5.4 s and 8.7 s on the release runner, beside nine other suites.
it('art/placeholders/ holds exactly what the generator makes (run pnpm art:board after changing the manifest)', { timeout: 30_000 }, () => {
const dir = `${root}art/placeholders/`;
const files = readdirSync(dir).filter((f) => f.endsWith('.svg'));
expect(files.map((f) => f.slice(0, -4)).sort()).toEqual([...stand.keys()].sort());