-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not exist on type 'Matchers' #76
Comments
Hi @e11en, Thanks, Jamie |
One thing I can see is: the items under |
Hi @JamieMason, |
I tried removing and re-installing all the dependencies and even with the versions of the example, not luck. |
If your code is the same as the working example, I'm afraid I don't have an answer that can help you. I notice you're using TypeScript though and – although I don't – I know @MiguelAngel82 @aaronbroad @ikasparov do and have commented on other TypeScript related issues – hopefully they can help you. |
Ok, thanks for your helps so far and I'll wait for their response. |
@e11en , any luck so far? I ran into similar trying to get "jasmine-expect" matchers to work with Protractor and it's driving me nuts. I've added references/require statements to karma.conf.js and protractor.conf.js, but the problem seems to be that TypeScript compiler does not recognise the custom matchers. When I run the tests with "ng e2e" I get same error:
|
@mvaljento , nope I haven't figured it out yet. |
Did you get anywhere with this @e11en? |
FAO TypeScript people, there is
|
Closing due to inactivity, please reopen if needed. |
My tests keep failing because it can't find the matchers for some reason, am I missing something in the installation? I've also installed karma-jasmine-matchers but no luck.
I've added the following devDependencies:
"karma-jasmine-matchers": "^3.7.0"
"@types/jasmine": "2.5.45"
"@types/jasmine-matchers": "^0.2.30"
"jasmine-core": "~2.6.2"
"jasmine-expect": "^3.7.0"
"jasmine-spec-reporter": "~4.1.0"
"karma": "~1.7.0"
"karma-chrome-launcher": "~2.1.1"
"karma-cli": "~1.0.1"
"karma-coverage-istanbul-reporter": "^1.2.1"
"karma-jasmine": "~1.1.0"
"karma-jasmine-html-reporter": "^0.2.2"
"karma-jasmine-matchers": "^3.7.0"
karma.conf.js
test.spec.ts
The text was updated successfully, but these errors were encountered: