Skip to content

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.
@mroderick mroderick requested review from mantoni and mgred February 26, 2020 13:08
@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.

2 participants