blob: 2bce83db484c7c010b02a91d3b4f1f5704a66afe [file] [log] [blame]
var path = require('path');
var createPattern = function(file) {
return {pattern: file, included: true, served: true, watched: false};
};
var initSinon = function(files) {
var sinonPath = path.dirname(require.resolve('sinon')) + '/../pkg';
files.unshift(createPattern(sinonPath + '/sinon.js'));
};
initSinon.$inject = ['config.files'];
module.exports = {
'framework:sinon': ['factory', initSinon]
};