Convert to typescript

This commit is contained in:
Peter Evans 2020-05-17 17:21:11 +09:00
parent 0f423da02c
commit f8274253bd
19 changed files with 2157 additions and 488 deletions

View file

@ -1,3 +1,11 @@
process.env = Object.assign(process.env, {
GITHUB_WORKSPACE: __dirname
});
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}