diff --git a/packages/mosaic/__tests__/integration/full-wizard.test.ts b/packages/mosaic/__tests__/integration/full-wizard.test.ts index c46242b..b045f7f 100644 --- a/packages/mosaic/__tests__/integration/full-wizard.test.ts +++ b/packages/mosaic/__tests__/integration/full-wizard.test.ts @@ -20,10 +20,13 @@ describe('Full Wizard (headless)', () => { beforeEach(() => { tmpDir = mkdtempSync(join(tmpdir(), 'mosaic-wizard-test-')); - // Copy templates to tmp dir - const templatesDir = join(repoRoot, 'templates'); - if (existsSync(templatesDir)) { - cpSync(templatesDir, join(tmpDir, 'templates'), { recursive: true }); + // Copy templates to tmp dir — templates live under framework/ after monorepo migration + const candidates = [join(repoRoot, 'framework', 'templates'), join(repoRoot, 'templates')]; + for (const templatesDir of candidates) { + if (existsSync(templatesDir)) { + cpSync(templatesDir, join(tmpDir, 'templates'), { recursive: true }); + break; + } } });