Skip to content

Commit

Permalink
account for new deduping
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Jan 25, 2021
1 parent 713914f commit 97af81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/css/test/index.test.js
Expand Up @@ -1817,11 +1817,11 @@ describe('CSS Support', () => {

// if it is the combined global CSS file there are double the expected
// results
const howMany = content.includes('p{') ? 4 : 2
const howMany = content.includes('p{') || content.includes('p,') ? 2 : 1

expect(content.match(/\(\/vercel\.svg/g).length).toBe(howMany)
// expect(content.match(/\(vercel\.svg/g).length).toBe(howMany)
expect(content.match(/\(\/_next\/static\/media/g).length).toBe(2)
expect(content.match(/\(\/_next\/static\/media/g).length).toBe(1)
expect(content.match(/\(https:\/\//g).length).toBe(howMany)
}
})
Expand Down

0 comments on commit 97af81f

Please sign in to comment.