mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
21 lines
495 B
TypeScript
21 lines
495 B
TypeScript
/* eslint-env jest */
|
|
|
|
import { nextTestSetup } from 'e2e-utils'
|
|
import { colorToRgb } from 'next-test-utils'
|
|
|
|
describe('(SCSS) Multi Global Support (reversed)', () => {
|
|
const { next } = nextTestSetup({
|
|
files: __dirname,
|
|
dependencies: {
|
|
sass: '1.54.0',
|
|
},
|
|
})
|
|
|
|
it('should render the page', async () => {
|
|
const browser = await next.browser('/')
|
|
expect(
|
|
await browser.elementByCss('#verify-blue').getComputedCss('color')
|
|
).toBe(colorToRgb('blue'))
|
|
})
|
|
})
|