You've already forked serverless-webpack
mirror of
https://github.com/encounter/serverless-webpack.git
synced 2026-03-30 11:37:58 -07:00
16 lines
294 B
JavaScript
16 lines
294 B
JavaScript
'use strict';
|
|
|
|
const sinon = require('sinon');
|
|
|
|
module.exports = () => ({
|
|
_resetSpies() {
|
|
for (let p in this) {
|
|
if (this.hasOwnProperty(p) && p !== '_resetSpies') {
|
|
this[p].reset();
|
|
}
|
|
}
|
|
},
|
|
guid: sinon.stub().returns('testguid'),
|
|
purgeCache: sinon.spy(),
|
|
});
|