Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing expectation property for resolves/rejects #185

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

mroderick
Copy link
Member

This PR adds missing expecation properties for resolves and rejects assertions.

Purpose

Improve support for the BDD style use of the library

Background

When these assertions were introduced in 1af3c77, we overlooked the expectation property.

Solution

Add the missing expectation properties.

How to verify

  1. Observe tests passing

When these assertions were introduced in
1af3c77, we overlooked the expectation
property.
@codecov
Copy link

codecov bot commented Feb 26, 2020

Codecov Report

Merging #185 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #185   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          81     81           
  Lines         652    652           
=====================================
  Hits          652    652
Flag Coverage Δ
#unit 100% <ø> (ø) ⬆️
Impacted Files Coverage Δ
lib/assertions/rejects.js 100% <ø> (ø) ⬆️
lib/assertions/resolves.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1590076...5522395. Read the comment docs.

@mroderick mroderick merged commit f32b3a7 into sinonjs:master Feb 26, 2020
@mroderick mroderick deleted the add-missing-expectation-prop branch February 26, 2020 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants