chore(eslint-config): disable broken jest/prefer-spy-on rule

This commit is contained in:
Alessio Gravili
2024-07-11 15:44:18 -04:00
parent 29205cd209
commit ebcfc2d284
4 changed files with 9 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ export const index = {
'jest/prefer-called-with': 'error',
'jest/prefer-expect-assertions': 'off',
'jest/prefer-hooks-on-top': 'error',
'jest/prefer-spy-on': 'error',
'jest/prefer-spy-on': 'off', // broken in packages/create-payload-app/src/lib/create-project.spec.ts
'jest/prefer-strict-equal': 'warn',
'jest/prefer-to-contain': 'error',
'jest/prefer-to-have-length': 'error',