mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-07 21:07:46 +00:00
21 lines
607 B
TypeScript
Vendored
21 lines
607 B
TypeScript
Vendored
import { join } from 'path';
|
|
|
|
import {
|
|
testDeployment,
|
|
// @ts-ignore
|
|
} from '../../../test/lib/deployment/test-deployment';
|
|
|
|
jest.setTimeout(4 * 60 * 1000);
|
|
|
|
it('Test `detectBuilders` and `detectRoutes`', async () => {
|
|
const fixture = join(__dirname, 'fixtures', '01-zero-config-api');
|
|
const deployment = await testDeployment(fixture);
|
|
expect(deployment).toBeDefined();
|
|
});
|
|
|
|
it('Test `detectBuilders` with `index` files', async () => {
|
|
const fixture = join(__dirname, 'fixtures', '02-zero-config-api');
|
|
const deployment = await testDeployment(fixture);
|
|
expect(deployment).toBeDefined();
|
|
});
|