Skip to content
#

jasmine

Here are 962 public repositories matching this topic...

sgravrock
sgravrock commented Aug 15, 2020

The following spec fails with a timeout but should fail with a message that explains that a promise was expected to be resolved:

  it('should fail with something other than a timeout', function() {
    var p = new Promise(function() {});
    return expectAsync(p).toBeResolved();
  });

Most of the async matchers have this problem, with the notable exception of toBePending.

Improve this page

Add a description, image, and links to the jasmine topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the jasmine topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.