UNPKG

eventric-testing

Version:
15 lines (10 loc) 377 B
describe 'eventricTesting', -> eventricTesting = require './' beforeEach -> handler = sandbox.stub() describe '#restore', -> it 'should destroy all wired remotes', -> wiredRemote = eventricTesting.wiredRemote 'context' sandbox.spy wiredRemote, '$destroy' eventricTesting.destroy() expect(wiredRemote.$destroy).to.have.been.calledOnce