Skip to content

Commit

Permalink
Merge pull request #38 from embroider-build/optimization-test
Browse files Browse the repository at this point in the history
add a test that verifies that the esbuild step was successful
  • Loading branch information
mansona authored Jul 17, 2024
2 parents dbe163c + cc9f7ad commit d33bb9d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/default.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,10 @@ describe('basic functionality', function () {

console.log(result.stdout);
});

it('successfully optimizes deps', function () {
return execa('pnpm', ['vite', 'optimize', '--force'], {
cwd: join(tmpDir.path, appName),
});
});
});

0 comments on commit d33bb9d

Please sign in to comment.