buster-configuration
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -99,3 +99,3 @@ var Path = require("path"); | ||
var opt = {}, key, i, l; | ||
opt.resources = _.extend(group.resources, options.resources); | ||
opt.resources = _.extend(group.resources.slice(0), options.resources); | ||
@@ -102,0 +102,0 @@ for (i = 0, l = LOAD_ALIASES.length; i < l; ++i) { |
{ | ||
"name": "buster-configuration", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "Groks the buster.js configuration file, including resource loading, file globbing, grouped test configs and more", | ||
@@ -5,0 +5,0 @@ "homepage": "http://busterjs.org/buster-configuration", |
@@ -12,5 +12,8 @@ # buster-configuration | ||
**0.7.4** (05.09.2014) | ||
* fix for issue [#420 - Resources array isn't cloned for extending configuration groups](https://github.com/busterjs/buster/issues/420) | ||
**0.7.3** (25.03.2014) | ||
* feature [custom test beds](http://docs.busterjs.org/en/latest/overview/#custom-test-beds) added | ||
@@ -602,2 +602,17 @@ var buster = require("buster-node"); | ||
refute(group.options.autoRun); | ||
}, | ||
"clones resources array": function (done) { | ||
var original = cgroup.create({ | ||
}, __dirname + "/fixtures"); | ||
var group = original.extend({ | ||
resources: ["foo.js"] | ||
}, __dirname + "/fixtures"); | ||
original.resolve(); | ||
group.resolve().then(done(function (resourceSet) { | ||
assert.equals(original.resources.length, 0); | ||
assert.equals(group.resources.length, 1); | ||
})); | ||
} | ||
@@ -604,0 +619,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57919
1414
19