You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

14 lines
252 B

'use strict';
const sinon = require('sinon');
module.exports = () => ({
_resetSpies() {
for (let p in this) {
if (this.hasOwnProperty(p) && p !== '_resetSpies') {
this[p].reset();
}
}
},
removeSync: sinon.spy(),
});