Files
Tobias KoppersandGitHub 92eecbfdff Turbopack: sass support (#62717)
### What?

* upgrades turbopack for `getResolve` in webpack loaders
* add missing resolve-url-loader to turbopack for full sass support

Closes PACK-2634
2024-03-04 11:56:55 +00:00

21 lines
500 B
TypeScript

/* eslint-env jest */
import { nextTestSetup } from 'e2e-utils'
import { colorToRgb } from 'next-test-utils'
describe('Ordering with styled-jsx', () => {
const { next } = nextTestSetup({
files: __dirname,
dependencies: {
sass: '1.54.0',
},
})
it('should have the correct color (css ordering)', async () => {
const browser = await next.browser('/')
expect(await browser.elementByCss('.my-text').getComputedCss('color')).toBe(
colorToRgb('green')
)
})
})