Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Testability API does support timeout and updateCb parameters for whenStable method #1939

Open
4 tasks done
rryk opened this issue Dec 1, 2020 · 0 comments
Open
4 tasks done

Comments

@rryk
Copy link

rryk commented Dec 1, 2020

Documentation: https://angular.io/api/core/Testability#whenstable

AngularJS method signature:
https://github.com/angular/angular/blob/d1ea1f4c7f3358b730b0d94e65b00bc28cae279c/packages/core/src/testability/testability.ts#L198

AngularDart method signature:
https://github.com/dart-lang/angular/blob/6b1137b927106a0c90447207345add5709acd7b0/angular/lib/src/core/testability/testability.dart#L73

Error message when trying to pass additional parameters: Return Value: '{"message":"error registering callback for root: NoSuchMethodError: method not found: 'call'\nReceiver: Closure 'ri' of Instance of 'minified:kC'\nArguments: [Instance of 'minified:ke', 60000, Instance of 'minified:ke']","permanentError":true,"stable":false}'

  • AngularDart Version: MASTER
  • Dart SDK Version: 2.12.
  • OS: Linux
  • Browser: Chrome
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant