|
@@ -42,18 +42,11 @@ module.exports = {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
plugins: [
|
|
plugins: [
|
|
|
- 'jasmine'
|
|
|
|
|
|
|
+ 'jest'
|
|
|
],
|
|
],
|
|
|
rules: {
|
|
rules: {
|
|
|
- 'jasmine/expect-matcher': 1,
|
|
|
|
|
- 'jasmine/expect-single-argument': 1,
|
|
|
|
|
- 'jasmine/new-line-before-expect': 1,
|
|
|
|
|
- 'jasmine/new-line-between-declarations': 1,
|
|
|
|
|
- 'jasmine/no-focused-tests': 2,
|
|
|
|
|
- 'jasmine/no-global-setup': 2,
|
|
|
|
|
- 'jasmine/no-promise-without-done-fail': 1,
|
|
|
|
|
- 'jasmine/no-suite-callback-args': 2,
|
|
|
|
|
- 'jasmine/no-suite-dupes': 1,
|
|
|
|
|
|
|
+ 'jest/no-focused-tests': 'error',
|
|
|
|
|
+ 'jest/valid-expect': 'error',
|
|
|
'new-cap': 0,
|
|
'new-cap': 0,
|
|
|
'no-console': 0,
|
|
'no-console': 0,
|
|
|
'no-restricted-syntax': [
|
|
'no-restricted-syntax': [
|