Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ tests/
test-results/
temp/squads/
.claude/settings.local.json
dashboards/test-results/
dashboard/test-results/
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ tests/
test-results/
temp/squads/
.claude/settings.local.json
dashboards/test-results/
dashboard/test-results/
docs/
.github/
4 changes: 0 additions & 4 deletions dashboard/test-results/.last-run.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const CANONICAL_SOURCES = [
{ src: join(PACKAGE_ROOT, 'dashboard'), dest: 'dashboard' },
];

const DASHBOARD_EXCLUDES = ['node_modules', 'tsconfig.tsbuildinfo', 'squads'];
const DASHBOARD_EXCLUDES = ['node_modules', 'tsconfig.tsbuildinfo', 'squads', 'test-results'];

const LANGUAGES = [
{ label: 'Português (Brasil)', value: 'Português (Brasil)' },
Expand Down
6 changes: 5 additions & 1 deletion tests/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ test('init with cursor IDE creates .cursorignore with browser profile exclusion'
}
});

test('init does not copy dashboard node_modules or dist to user project', async () => {
test('init does not copy dashboard node_modules, dist or test-results to user project', async () => {
const tempDir = await mkdtemp(join(tmpdir(), 'opensquad-test-'));

try {
Expand All @@ -524,6 +524,10 @@ test('init does not copy dashboard node_modules or dist to user project', async
stat(join(tempDir, 'dashboard', 'dist')),
{ code: 'ENOENT' }
);
await assert.rejects(
stat(join(tempDir, 'dashboard', 'test-results')),
{ code: 'ENOENT' }
);
} finally {
await rm(tempDir, { recursive: true, force: true });
}
Expand Down