Buckets:
| import { nextTestSetup } from 'e2e-utils' | |
| import { check } from 'next-test-utils' | |
| describe('ENOENT during require', () => { | |
| const { next } = nextTestSetup({ | |
| files: __dirname, | |
| }) | |
| it('should show ENOENT error correctly', async () => { | |
| await next.fetch('/') | |
| await check(() => { | |
| expect(next.cliOutput).toContain( | |
| "ENOENT: no such file or directory, open 'does-not-exist.txt'" | |
| ) | |
| return 'yes' | |
| }, 'yes') | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 456 Bytes
- Xet hash:
- 070853a07587d8f85f02c8e53115eef730c8784a7f224e3f050c61e3d8d95441
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.