mirror of
https://gitea.com/actions/stale.git
synced 2024-11-27 03:47:38 +08:00
324009e5d0
* chore(git): ignore .idea folder to avoid adding WebStorm files * test(jest): find all spec files as well * refactor(labels): create a dedicated function to parse the labels at first I thought that the parseCommaSeparatedString method was causing the issue so I move it to a dedicated file to test it since it was private also because I think that this repo could have more clean code and code splitting anyway this was not the root of the #98 issue :/ * fix(label): allow to use spaces inside the labels * docs(isLabeled): add JSDoc * chore(npm): add lint:fix script
12 lines
253 B
JavaScript
12 lines
253 B
JavaScript
module.exports = {
|
|
clearMocks: true,
|
|
moduleFileExtensions: ['js', 'ts'],
|
|
testEnvironment: 'node',
|
|
testMatch: ['**/*.test.ts', '**/*.spec.ts'],
|
|
testRunner: 'jest-circus/runner',
|
|
transform: {
|
|
'^.+\\.ts$': 'ts-jest'
|
|
},
|
|
verbose: true
|
|
};
|