Skip to content

issues Search Results · repo:chaijs/sinon-chai language:JavaScript

Filter by

108 results
 (77 ms)

108 results

inchaijs/sinon-chai (press backspace or delete to remove)

Hi, In the docs I see that sinon-chai assertion for calledOnceWith is spy.should.always.have.been.calledOnceWith(...args). In the source code in tests I see that spy.should.have.been.calledOnceWith() ...
  • katerina-semikina
  • 3
  • Opened 
    on Mar 28
  • #168

https://github.com/chaijs/sinon-chai/issues/160 has been open for 7 months and is an urgent issue.
  • crfrolik
  • 1
  • Opened 
    on Jul 25, 2024
  • #165

Now chai v5 is out, it would be helpful if sinon-chai could also support it
  • stephen-willoughby
  • 9
  • Opened 
    on Jan 2, 2024
  • #160

The WTFPL is not recognized by some enterprise-level scanning tools (like Mend as an allowable license. I realize this is more likely than not an issue with my company s configuration of that software/legal ...
  • calebdwilliams
  • 4
  • Opened 
    on May 8, 2023
  • #159

Same basic problem and solution as in previous update requests from others, this time for Sinon 15. https://github.com/sinonjs/sinon/blob/main/CHANGES.md
  • kf6kjg
  • 3
  • Opened 
    on Jan 9, 2023
  • #158

I recently moved some code that had Object.assign(Object.create(null), { prop1: 1 }) to just properties on the class, where the class holds this.props1 = 1. Then the assertions started failing. expect(postDataStub).to.be.calledOnceWith(dataObject); ...
  • opensourcegeek
  • Opened 
    on Jun 23, 2022
  • #157

Error: Invalid Chai property: calledTwice at Object.e [as get] (.tmp/karma_webpack/commons.js:149088:1519) at Context. anonymous (.tmp/karma_webpack/commons.js:3840:101) at Test.Runnable.run ...
  • naissa12
  • 1
  • Opened 
    on Mar 24, 2022
  • #155

Hello, I try to use the .notCalled with expect but everytime I try to add the chai .not, it tells me that this is not a function. Here is what I tried: expect(createCompany).not.to.have.been.called(); ...
  • Splinteer
  • 1
  • Opened 
    on Dec 24, 2021
  • #154

sinon@11 has now been released. Any chance for a quick patch release (of sinon-chai) extending the peerDep range to include the new major?
  • AviVahl
  • 3
  • Opened 
    on May 25, 2021
  • #150

sinon@10.0.0 is out.t sinon-chai gets a peerDependency warning: warning sinon-chai@3.5.0 has incorrect peer dependency sinon@ =4.0.0 10.0.0 . FYI @domenic
  • AviVahl
  • 1
  • Opened 
    on Mar 23, 2021
  • #149
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub