mirror of
https://github.com/mshick/add-pr-comment.git
synced 2026-01-01 06:29:49 +11:00
18 lines
417 B
JavaScript
18 lines
417 B
JavaScript
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'],
|
|
transform: {
|
|
'^.+\\.ts$': 'ts-jest',
|
|
},
|
|
verbose: true,
|
|
}
|