Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: appengine/config_service/ui/bower_components/sinon-chai/test/regressions.coffee

Issue 2923973003: Added base template for config ui. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 "use strict"
2
3 sinon = require("sinon")
4
5 describe "Regressions", ->
6 specify "GH-19: functions with `proxy` properties", ->
7 func = ->
8 func.proxy = 5
9
10 spy = sinon.spy(func)
11 spy()
12
13 expect(-> spy.should.have.been.called).to.not.throw()
14
15 specify "GH-94: assertions on calls", ->
16 func = ->
17 spy = sinon.spy(func)
18
19 spy(1, 2, 3)
20 spy(4, 5, 6)
21
22 expect(-> spy.lastCall.should.have.been.calledWith(4, 5, 6)).to.not.thro w()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698