diff --git a/tests/default.test.mjs b/tests/default.test.mjs index 7314c40..955fa70 100644 --- a/tests/default.test.mjs +++ b/tests/default.test.mjs @@ -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), + }); + }); });