Closed felikf closed 4 years ago
Seems to be fixed by:
Index: package.json
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- package.json (revision 0daabedd9fe478733d3bbdf008493efd364e7d6f)
+++ package.json (date 1594897362115)
@@ -53,14 +53,14 @@
"zone.js": "~0.10.2"
},
"devDependencies": {
- "@angular-builders/jest": "8.3.2",
+ "@angular-builders/jest": "9.0.1",
"@angular-devkit/build-angular": "~0.901.1",
"@angular/cli": "9.1.1",
"@angular/compiler-cli": "9.1.2",
"@angular/language-service": "9.1.2",
"@fortawesome/fontawesome-free": "^5.13.0",
"@ngrx/schematics": "9.1.0",
- "@types/jest": "23.3.14",
+ "@types/jest": "26.0.4",
"@types/lodash": "4.14.149",
"@types/node": "^12.11.1",
"browser-sync": "2.26.7",
@@ -68,10 +68,10 @@
"commit-message-validator": "^0.1.11",
"husky": "^4.2.3",
"istanbul-reports": "2.2.7",
- "jest": "24.9.0",
- "jest-cli": "24.9.0",
+ "jest": "26.1.0",
+ "jest-cli": "25.5.4",
"jasmine-marbles": "0.4.1",
- "jest-preset-angular": "7.1.1",
+ "jest-preset-angular": "8.2.1",
"jest-sonar-reporter": "2.0.0",
"jest-teamcity-reporter": "0.9.0",
"json-loader": "0.5.7",
@@ -105,11 +105,9 @@
"tsConfig": "<rootDir>/src/tsconfig.spec.json",
"stringifyContentPathRegex": "\\.html$",
"astTransformers": [
- "jest-preset-angular/InlineHtmlStripStylesTransformer"
- ],
- "diagnostics": {
- "warnOnly": true
- }
+ "jest-preset-angular/build/InlineFilesTransformer",
+ "jest-preset-angular/build/StripStylesTransformer"
+ ]
}
},
"moduleNameMapper": {
@@ -123,9 +121,6 @@
"setupFilesAfterEnv": [
"<rootDir>/src/setupJest.ts"
],
- "testResultsProcessor": "jest-teamcity-reporter",
- "transformIgnorePatterns": [
- "node_modules/(?!@ngrx|angular2-ui-switch|ng-dynamic)"
- ]
+ "testResultsProcessor": "jest-teamcity-reporter"
}
}
BTW do I need this dependency: "ngx-wallaby-jest": "0.0.2"
?
I have managed to make wallaby working, but instead of 1750 tests wallaby now sees only 1294 tests :(
Jest:
Wallaby - with some error (Cannot set property '0' of undefined
):
Cau you please suggest any reason why wallaby do not see all tests?
You don't need either of these dependencies:
--
Could you please send us an updated Wallaby Diagnostics report? It will have different information in it since you fixed the jest/jest builder dependencies.
Report is here, can't fit comments:
You can't comment at this time — your comment is too long (maximum is 65536 characters).
Also by restarting the service I can see all tests passed, closing issue.
Issue description or question
After starting Wallaby in Webstorm, I am getting an error:
It worked a while ago and may be caused by some package (NPM) or wallaby version.
Jest itself works - it is started without reported error. I am using automatic configuration (no config file).
Wallaby diagnostics report