add some tests
This commit is contained in:
parent
3f580bbe2d
commit
50f2b83443
7 changed files with 173 additions and 10 deletions
|
|
@ -58,6 +58,9 @@ function buildStepConfigCreate(builder, buildConfig, callback) {
|
|||
}
|
||||
|
||||
function AssetsBuilder(config) {
|
||||
if (config === undefined) {
|
||||
throw new Error('no config');
|
||||
}
|
||||
this.config = config;
|
||||
this.startTime = 0;
|
||||
this.currentAssetType = '';
|
||||
|
|
|
|||
|
|
@ -122,7 +122,9 @@ var builderAssemblerCreate = {
|
|||
},
|
||||
};
|
||||
|
||||
var builderEmptyCallback = function () {};
|
||||
var builderEmptyCallback = function () {
|
||||
return function () {};
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
assembler: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue