Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 43d5c8f

Browse files
committedDec 5, 2022
ci: fix e2e test
1 parent 26a7298 commit 43d5c8f

File tree

3 files changed

+289
-313
lines changed

3 files changed

+289
-313
lines changed
 

‎cypress/integration/nx/general.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ describe('Default site', () => {
1010
cy.url().should('eq', `${Cypress.config().baseUrl}/`)
1111
})
1212

13-
it('serves generated public files', async () => {
14-
cy.request('service-worker.js').then((res) => {
13+
it('serves generated public files', () => {
14+
cy.request('favicon.ico').then((res) => {
1515
expect(res.status).to.eq(200)
16-
expect(res.headers['content-type']).to.match(/javascript/)
16+
expect(res.headers['content-type']).to.match(/image/)
1717
})
1818
})
1919

Binary file not shown.

‎demos/nx-next-monorepo-demo/package-lock.json

Lines changed: 286 additions & 310 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.