Buckets:
| /* global jest */ | |
| jest.autoMockOff() | |
| const defineTest = require('jscodeshift/dist/testUtils').defineTest | |
| const { readdirSync } = require('fs') | |
| const { join } = require('path') | |
| const fixtureDir = 'middleware-to-proxy' | |
| const fixtureDirPath = join(__dirname, '..', '__testfixtures__', fixtureDir) | |
| const fixtures = readdirSync(fixtureDirPath) | |
| .filter(file => file.endsWith('.input.ts')) | |
| .map(file => file.replace('.input.ts', '')) | |
| for (const fixture of fixtures) { | |
| const prefix = `${fixtureDir}/${fixture}` | |
| defineTest(__dirname, fixtureDir, null, prefix, { parser: 'ts' }) | |
| } |
Xet Storage Details
- Size:
- 580 Bytes
- Xet hash:
- 6dccf325d92e9939af00a29a93099e56c26a44a646b58e057660ea2aa075eca6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.