cjohansen / sinon-qunit

A small Sinon.JS adapter for QUnit that provides automatic sandboxing of mocks and stubs
http://cjohansen.no/sinon/qunit
Other
26 stars 12 forks source link

Injecting into `this` does not work #15

Open ohcibi opened 9 years ago

ohcibi commented 9 years ago

I have this example: http://codepen.io/ohcibi/pen/gbgQXK?editors=001

According to the examples from http://sinonjs.org/qunit/ @mock should be defined, but it isn't.