mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
BREAKING CHANGE: `commitlint.config.js` is not supported anymore, please use `.mjs` extension
12 lines
313 B
JavaScript
12 lines
313 B
JavaScript
export default {
|
|
// Automatically clear mock calls and instances between every test
|
|
clearMocks: true,
|
|
testEnvironment: '@commitlint/test-environment',
|
|
testMatch: [
|
|
'**/__tests__/**/*.?(m)[jt]s?(x)',
|
|
'**/?(*.)+(spec|test).?(m)[tj]s?(x)',
|
|
],
|
|
transform: {
|
|
'\\.[jt]sx?$': 'babel-jest',
|
|
},
|
|
}
|