mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? * upgrades turbopack for `getResolve` in webpack loaders * add missing resolve-url-loader to turbopack for full sass support Closes PACK-2634
23 lines
504 B
TypeScript
23 lines
504 B
TypeScript
/* eslint-env jest */
|
|
|
|
import { nextTestSetup } from 'e2e-utils'
|
|
|
|
describe('Good CSS Import from node_modules', () => {
|
|
const { next } = nextTestSetup({
|
|
files: __dirname,
|
|
dependencies: {
|
|
sass: '1.54.0',
|
|
nprogress: '0.2.0',
|
|
},
|
|
})
|
|
|
|
it('should render the page', async () => {
|
|
const browser = await next.browser('/')
|
|
expect(
|
|
await browser
|
|
.elementByCss('#nprogress .bar')
|
|
.getComputedCss('background-color')
|
|
).toBe('rgb(34, 153, 221)')
|
|
})
|
|
})
|