Skip to content

Commit

Permalink
fix(vite): e2e test needed updated after react 19 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Jan 10, 2025
1 parent d01acef commit 9abc978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/vite/src/vite-legacy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,14 @@ export default App;
const results = runCLI(`build ${app} --buildLibsFromSource=true`);
expect(results).toContain('Successfully ran target build for project');
// this should be more modules than build from dist
expect(results).toContain('40 modules transformed');
expect(results).toContain('43 modules transformed');
});

it('should build app from libs dist', () => {
const results = runCLI(`build ${app} --buildLibsFromSource=false`);
expect(results).toContain('Successfully ran target build for project');
// this should be less modules than building from source
expect(results).toContain('38 modules transformed');
expect(results).toContain('41 modules transformed');
});

it('should build app from libs without package.json in lib', () => {
Expand Down

0 comments on commit 9abc978

Please sign in to comment.