home.social

#sinon — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sinon, aggregated by home.social.

  1. QUnit 2.20.1

    🐛 Fix compat with sinon.useFakeTimers in IE 10 and IE 11.
    🐛 Fix hanging assert.async() after assert.timeout().

    Welcome Timmy Willison @timmywil as QUnit contributor!

    Details: github.com/qunitjs/qunit/blob/
    Download: qunitjs.com/intro/#release-cha

  2. @lulu les iPad vont tous être update l’an prochain. Y’aura pas de maj cette année :)
    #sinon oui pour dessiner c’est cool après faut voir ce que tu veux faire d’autre avec

  3. When testing a #typescript #nodejs application with #mocha, what do you use to #mock fetch? #nock #sinon #fetch-mock or something else?

  4. When testing a #typescript #nodejs application with #mocha, what do you use to #mock fetch? #nock #sinon #fetch-mock or something else?

  5. When testing a #typescript #nodejs application with #mocha, what do you use to #mock fetch? #nock #sinon #fetch-mock or something else?

  6. When testing a #typescript #nodejs application with #mocha, what do you use to #mock fetch? #nock #sinon #fetch-mock or something else?

  7. When testing a #typescript #nodejs application with #mocha, what do you use to #mock fetch? #nock #sinon #fetch-mock or something else?

  8. For added niceness: Combine #sinon with #chaijs through github.com/domenic/sinon-chai and be able to interact with your mocks in your normal Chai fashion:

    spy.should.have.been.calledTwice;

  9. In the latest version of #nodejs, #nodejs20, there's experimental mock timers built in which may be possible to use instead: nodejs.org/api/test.html#class

    But #sinon in general is a very solid package, I would opt for that for now, at least until the built in one is no longer experimental

  10. CW: wirre gedankliche assoziationen zu telekom, kirche und neuneuroticket

    #StreamOn ist ja nun endlich abgestellt.

    Aber was ist eigentlich mit #SinOn, der Ablasshandel-Flatrate der katholischen Kirche?

    (Wie, die gibt's nicht? Das muss doch heutzutage alles digital und als Abo!)