silverwolf-x/project / test /development /basic /barrel-optimization /barrel-optimization-tremor.test.ts
silverwolf-x's picture
download
raw
663 Bytes
import { join } from 'path'
import { nextTestSetup } from 'e2e-utils'
import { waitForNoRedbox } from 'next-test-utils'
describe('optimizePackageImports - mui', () => {
const { next } = nextTestSetup({
env: {
NEXT_TEST_MODE: '1',
},
files: join(__dirname, 'fixture-tremor'),
dependencies: {
'@headlessui/react': '^1.7.18',
'@headlessui/tailwindcss': '^0.2.0',
'@remixicon/react': '^4.2.0',
'@tremor/react': '^3.14.1',
},
})
it('should work', async () => {
// Without barrel optimization, the reproduction breaks.
const browser = await next.browser('/')
await waitForNoRedbox(browser)
})
})

Xet Storage Details

Size:
663 Bytes
·
Xet hash:
42ce9daf5ca9f9266b6d94c3397201f1c8dcc1eaf989def092ddd131d1678e28

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