Do not skip react-owner-stacks-svgr
test for turbopack build (#67184)
This commit is contained in:
parent
8b5661eb45
commit
0c615f9c6e
1 changed files with 5 additions and 12 deletions
|
@ -1,20 +1,13 @@
|
|||
import { nextTestSetup } from 'e2e-utils'
|
||||
|
||||
describe('react-owner-stacks-svgr', () => {
|
||||
const { next, isNextStart, isTurbopack } = nextTestSetup({
|
||||
const { next } = nextTestSetup({
|
||||
files: __dirname,
|
||||
packageJson: { dependencies: { '@svgr/webpack': '8.1.0' } },
|
||||
})
|
||||
|
||||
/* eslint-disable jest/no-standalone-expect */
|
||||
// Turbopack currently only supports `next dev` and does not support `next
|
||||
// build`: https://nextjs.org/docs/architecture/turbopack#unsupported-features
|
||||
;(isNextStart && isTurbopack ? it.skip : it)(
|
||||
'renders an SVG that is transformed by @svgr/webpack into a React component',
|
||||
async () => {
|
||||
it('renders an SVG that is transformed by @svgr/webpack into a React component', async () => {
|
||||
const browser = await next.browser('/')
|
||||
expect(await browser.elementByCss('svg')).toBeDefined()
|
||||
}
|
||||
)
|
||||
/* eslint-enable jest/no-standalone-expect */
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue