Skip to content

Commit 582ab26

Browse files
committed
[Bugfix #667] Fix: Update E2E test to match dashboard-dist path after monorepo restructure
PR #666 moved the dashboard to packages/dashboard/ and changed the build output from dashboard/dist to dashboard-dist in packages/codev. The npm pack E2E test still expected the old path.
1 parent 4aa3443 commit 582ab26

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/codev/src/agent-farm/__tests__/e2e/dashboard-terminals.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ test.describe('Dashboard Terminals E2E', () => {
153153
await request.delete(`${BASE_URL}/api/tabs/${body.id}`);
154154
});
155155

156-
test('npm pack includes dashboard/dist', async () => {
156+
test('npm pack includes dashboard-dist', async () => {
157157
const { execSync } = await import('node:child_process');
158158
const output = execSync('npm pack --dry-run 2>&1', {
159159
cwd: resolve(WORKSPACE_PATH, 'packages/codev'),
160160
encoding: 'utf-8',
161161
});
162-
expect(output).toContain('dashboard/dist/index.html');
163-
expect(output).toContain('dashboard/dist/assets/');
162+
expect(output).toContain('dashboard-dist/index.html');
163+
expect(output).toContain('dashboard-dist/assets/');
164164
});
165165
});

0 commit comments

Comments
 (0)