Skip to content

Commit

Permalink
remove logo check now that vite bug is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachJW34 committed Mar 26, 2022
1 parent 05b9309 commit d8c46e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/vite-e2e/tests/vite.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,14 @@ describe('vite e2e', () => {
`);

disableHashing(appName);
const buildResult = await runNxCommandAsync(`build ${appName}`);
await runNxCommandAsync(`build ${appName}`);
checkFilesExist(
`dist/apps/${appName}/index.html`,
`dist/apps/${appName}/assets/index.css`,
`dist/apps/${appName}/assets/index.js`,
`dist/apps/${appName}/assets/vendor.js`,
`dist/apps/${appName}/assets/logo.png`
);
// Cannot disable hashing for assets
// see: https://github.com/vitejs/vite/issues/2944
expect(buildResult.stdout).toContain(`dist/apps/${appName}/assets/logo`);

const e2eResult = await runNxCommandAsync(`e2e ${appName}-e2e`);
expect(e2eResult.stdout).toContain('All specs passed!');
Expand Down

0 comments on commit d8c46e3

Please sign in to comment.