Wrong jasmine/wd2 typings in Angular 8/9 #17493
Copy link
Copy link
Closed
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity2: inconvenienttype: RFC / discussion / questiontype: bug/fix
Milestone
Description
Activity
- changed the title
[-]Wrong jasmine/wd2 typings in Angular 8/9[/-][+]Wrong jasminewd2 typings in Angular 8/9[/+]on Apr 17, 2020 - changed the title
[-]Wrong jasminewd2 typings in Angular 8/9[/-][+]Wrong jasmine/wd2 typings in Angular 8/9[/+]on Apr 17, 2020 - addedfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarely
on Apr 17, 2020 - added a commit that references this issue
on May 20, 2020 angular-automatic-lock-bot commented
on Jun 20, 2020 More actionsThis issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
- locked and limited conversation to collaborators
on Jun 20, 2020 - added a commit that references this issue
on May 29, 2026
Metadata
Metadata
Assignees
Labels
area: @schematics/angularfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity2: inconvenienttype: RFC / discussion / questiontype: bug/fix
I created a new blank angular 9 project using next commands:
I added
then()to test:Then run:
Error occured:
After removing "@types/jasminewd2": "~2.0.3", from package.json, deleting then() of course and running:
Visual studio code reported that expect() matcher is sync method and returns boolean instead of Promise, just removed the .then() and everything works as it should.
Not really sure this is an Angular bug, but package @types/jasminewd2 comes by default I suppose.