Files
vercel/examples/__tests__/unit/index.test.ts
2023-02-10 16:32:45 -06:00

9 lines
268 B
TypeScript

import { existsSync } from 'fs';
import { getExamples } from '../test-utils';
describe('should have test for each example', () => {
it.each(getExamples())('should exist $exampleName', async ({testPath}) => {
expect(existsSync(testPath)).toBeTruthy();
});
});