mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-07 21:07:46 +00:00
[tests] Add tests for examples (#9403)
These tests will run if one of the conditions is met: - any change to `./examples` - any changes to `./packages/frameworks` The test ensures that examples can build and deploy without errors. In a future PR, we could improve these tests to make requests to the test deployment (like we do for probes).
This commit is contained in:
7
examples/jest.config.js
vendored
Normal file
7
examples/jest.config.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/** @type {import('@ts-jest/dist/types').InitialOptionsTsJest} */
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['<rootDir>/__tests__/**/*.test.ts'],
|
||||
testTimeout: 5 * 60 * 1000,
|
||||
};
|
||||
Reference in New Issue
Block a user