Buckets:
| import { nextTestSetup } from 'e2e-utils' | |
| describe('Skipped in Turbopack', () => { | |
| describe('app-dir - optimizePackageImports - basic', () => { | |
| const { next } = nextTestSetup({ | |
| files: __dirname, | |
| }) | |
| it('should build successfully', async () => { | |
| const $ = await next.render$('/') | |
| expect(await $('#client-mod').text()).toContain('client:default') | |
| }) | |
| it('should handle mixed imports from barrel optimized lib correctly', async () => { | |
| const $ = await next.render$('/mixed-barrel-imports') | |
| expect(await $('#component').attr('style')).toContain('color:blue') | |
| }) | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 623 Bytes
- Xet hash:
- 469862e82b016b1328016916b337488b2f144f68478f449b4475cab1552f869c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.