Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `.fulfilled`, `.not.rejected` and `.not.rejectedWith` when successful: * The promise they return is fulfilled with the same value as the promise they were testing. - When `.not.fulfilled`, `.rejected` and `.rejectedWith` are successful: * The promise they return is fulfilled with the rejection reason. In all cases, when they fail, the promise they return is rejected and has for reason the assertion that failed. The changes above make it so that the `object` flag is automatically set when the promise returned is resolved, and thus also allows chaining. This fixes chaijs#113.
- Loading branch information