Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.
This repository was 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

@rryk

Description

@rryk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions