Commit 0af26f38 authored by Luke Sandberg's avatar Luke Sandberg

Fix test assertions

parent b457ed82
...@@ -13,11 +13,6 @@ describe('initial-css-not-found', () => { ...@@ -13,11 +13,6 @@ describe('initial-css-not-found', () => {
await browser.eval( await browser.eval(
`window.getComputedStyle(document.querySelector('body')).color` `window.getComputedStyle(document.querySelector('body')).color`
) )
).toBe( ).toBe('rgb(255, 0, 0)')
// This only fails in production turbopack builds
process.env.IS_TURBOPACK_TEST && !process.env.TURBOPACK_DEV
? 'rgb(0, 0, 0)'
: 'rgb(255, 0, 0)'
)
}) })
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment