refactor for cross platform use

This commit is contained in:
softprops
2019-09-09 17:10:07 +09:00
parent 090932e783
commit 18daf2c63f
15 changed files with 5626 additions and 23 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
}