mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-05 17:16:54 +00:00
feat: upgrade to commitlint v19
BREAKING CHANGE: `commitlint.config.js` is not supported anymore, please use `.mjs` extension
This commit is contained in:
parent
9763196e10
commit
732f0ad7d5
24 changed files with 2431 additions and 13465 deletions
12
jest.config.mjs
Normal file
12
jest.config.mjs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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',
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue