build(refactor): better project organization

This commit is contained in:
Michael Shick 2020-07-07 10:51:15 -04:00
parent 5cd99bf9c1
commit e2229d7f55
No known key found for this signature in database
GPG key ID: ADF5BC9704BB4A61
14 changed files with 9869 additions and 74 deletions

View file

@ -1,16 +1,9 @@
const processStdoutWrite = process.stdout.write.bind(process.stdout)
process.stdout.write = (str, encoding, cb) => {
if (!str.match(/^##/)) {
return processStdoutWrite(str, encoding, cb)
}
return false
}
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest',
},