-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implemented github action for testing in fastify-rest example
- Loading branch information
1 parent
7a75b0b
commit 07a8f30
Showing
25 changed files
with
6,177 additions
and
537 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,3 +126,4 @@ typings/ | |
# End of https://www.toptal.com/developers/gitignore/api/node,yarn | ||
|
||
dist | ||
test/setEnvVars.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Config } from '@jest/types' | ||
|
||
const config: Config.InitialOptions = { | ||
verbose: true, | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
testTimeout: 1 * 60 * 1000, | ||
globalSetup: './test/jestGlobalSetup.ts', | ||
modulePaths: ['<rootDir>/src', '<rootDir>/node_modules'], | ||
roots: ['.'], | ||
moduleFileExtensions: ['js', 'json', 'ts'], | ||
testRegex: '.test.ts$', | ||
transform: { | ||
'^.+\\.(t|j)s$': 'ts-jest' | ||
} | ||
} | ||
|
||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.