feat: Migrate JavaScript to TypeScript

This commit is contained in:
peaceiris 2019-09-21 06:49:40 +09:00
parent b3cddbe7fa
commit 7b1d8d3b9b
17 changed files with 585 additions and 142 deletions

11
jest.config.js Normal file
View file

@ -0,0 +1,11 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}