referee icon indicating copy to clipboard operation
referee copied to clipboard

Test-framework agnostic assertion and expectation library

Results 10 referee issues
Sort by recently updated
recently updated
newest added

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.53 to 0.10.63. Release notes Sourced from es5-ext's releases. 0.10.63 (2024-02-23) Bug Fixes Do not rely on problematic regex (3551cdd), addresses #201 Support ES2015+ function definitions in...

dependencies

> We understand you have a problem and are in a hurry, but please provide us with some info to make it much more likely for your issue to be...

#### Purpose (TL;DR) - mandatory This PR is to get a clear idea about the feature mentioned below Feature: expand verify to ensure no async assertions are pending (https://github.com/sinonjs/referee/issues/53) (No...

This should fail, but is passes: ```js assert.match({}, { unknown: undefined }); ```

* library version : 4.0.0 * Environment : Node 13.5.0 * Example URL : https://sinonjs.github.io/referee/#defined * Other libraries you are using: Mocha 7.0.0 **What did you expect to happen?** Documentation...

The `resolves` and `rejects` assertions diverge from the naming convention use by Sinon assertions. In Sinon, `resolves` and `rejects` are used to program a stub or a fake, e.g. `sinon.fake.resolves(42)`....

In order to avoid situations where authors forget to add the `expecation` property, we can expand the API to have `referee.addWithExpectation` method. This method should verify that the `expectation` property...

> We understand you have a problem and are in a hurry, but please provide us with some info to make it much more likely for your issue to be...

* library version : 3.2.0 * Environment : Node **What did you expect to happen?** That it would print a normal assertion error **What actually happens** It fails with ```...

Extracted form the discussion of #47. https://github.com/sinonjs/referee/issues/47#issuecomment-436646220 > * If #45 lands, then expand `verify` to ensure all promises from `resolves` and `rejects` are resolved or rejected The following example...