buster-configuration
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -166,3 +166,3 @@ var B = require("buster-core"); | ||
config: B.extend({}, options), | ||
rootPath: Path.resolve(rootPath, options.rootPath), | ||
rootPath: Path.resolve(rootPath || "", options.rootPath || ""), | ||
server: extractServer(options), | ||
@@ -169,0 +169,0 @@ environment: options.environment || options.env || "browser", |
{ | ||
"name": "buster-configuration", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Implements 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", |
@@ -5,4 +5,3 @@ var buster = require("buster"); | ||
var fs = require("fs"); | ||
var MODULE_ROOT = path.resolve(__dirname, ".."); | ||
var FIXTURES_ROOT = path.resolve(MODULE_ROOT, ".fixtures"); | ||
var FIXTURES_ROOT = path.resolve(__dirname, "..", ".fixtures"); | ||
@@ -56,3 +55,3 @@ module.exports = { | ||
cdFixtures: function () { | ||
this.mkdir(FIXTURES_ROOT); | ||
this.mkdir(""); | ||
process.chdir(FIXTURES_ROOT); | ||
@@ -68,3 +67,2 @@ }, | ||
} | ||
process.chdir(MODULE_ROOT); | ||
rmrf(FIXTURES_ROOT, function (err) { | ||
@@ -71,0 +69,0 @@ if (err) { require("buster").log(err.toString()); } |
51662
1308