silverwolf-x's picture
download
raw
592 Bytes
import { join } from 'path'
import { nextTestSetup } from 'e2e-utils'
describe('emotion SWC option', () => {
const { next } = nextTestSetup({
files: join(__dirname, 'fixture'),
dependencies: {
'@emotion/react': '11.10.4',
'@emotion/styled': '11.10.4',
'@emotion/cache': '11.10.3',
},
})
it('should have styling from the css prop', async () => {
const browser = await next.browser('/')
const color = await browser
.elementByCss('#test-element')
.getComputedCss('background-color')
expect(color).toBe('rgb(255, 192, 203)')
})
})

Xet Storage Details

Size:
592 Bytes
·
Xet hash:
23a5b0c2aec8bfd7d88b7ca9f0055459f689a8b9381f7b7fa48a53dda21a0fd9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.