Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(desktop): allow TilemapPainter -> CollisionBrushPalette sub-part

yhhe64d8fe1f4a1
diff --git a/desktop/tests/module-boundaries.test.ts b/desktop/tests/module-boundaries.test.ts
index 80ae73190..606ac5883 100644
--- a/desktop/tests/module-boundaries.test.ts
+++ b/desktop/tests/module-boundaries.test.ts
@@ -15,7 +15,10 @@ import { join, relative } from 'node:path';
const SRC = join(__dirname, '..', 'src');
/** Same-feature compositions: a panel and its own sub-part file. */
-const ALLOWED_SUBPARTS = new Set(['Sequencer -> SequencerCurve']);
+const ALLOWED_SUBPARTS = new Set([
+ 'Sequencer -> SequencerCurve',
+ 'TilemapPainter -> CollisionBrushPalette',
+]);
function walk(dir: string, out: string[] = []): string[] {
for (const name of readdirSync(dir)) {