Socket
Socket
Sign inDemoInstall

buster-configuration

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buster-configuration - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

0

autolint.js

@@ -0,0 +0,0 @@ module.exports = {

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ var config = module.exports;

@@ -0,0 +0,0 @@ var cgroup = require("./group");

@@ -0,0 +0,0 @@ var Path = require("path");

12

lib/group.js

@@ -17,3 +17,4 @@ var Path = require("path");

["resources", "environment", "rootPath", "extends", "env",
"server", "options", "serverString", "name", "autoRun", "extensions"]
"server", "options", "serverString", "name", "autoRun", "extensions",
"testbed"]
);

@@ -176,2 +177,8 @@

function convertTestBed(group) {
if (group.config.testbed) {
group.resources.push({ path: "/", file: group.config.testbed });
}
}
var cg = module.exports = _.extend(bane.createEventEmitter(), {

@@ -211,2 +218,5 @@ create: function (options, rootPath) {

this.runExtensionHook("configure", this);
convertTestBed(this);
this.rsPromise = d.promise;

@@ -213,0 +223,0 @@ buildResourceSet(this, function (err, resourceSet) {

2

package.json
{
"name": "buster-configuration",
"version": "0.7.2",
"version": "0.7.3",
"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",

@@ -8,1 +8,9 @@ # buster-configuration

Load and interact with Buster.JS configuration files.
##Changelog
**0.7.3** (25.03.2014)
* feature [custom test beds](http://docs.busterjs.org/en/latest/overview/#custom-test-beds) added

@@ -0,0 +0,0 @@ var buster = require("buster-node");

@@ -0,0 +0,0 @@ var buster = require("buster-node");

@@ -0,0 +0,0 @@ var path = require("path");

module.exports = {
"Browser tests": {}
};

@@ -255,2 +255,14 @@ var buster = require("buster-node");

"convert testbed into resource path": function () {
var group = cgroup.create({
testbed: "testbed.html"
}, __dirname + "/fixtures");
group.resolve();
assert.equals(group.resources.length, 1);
assert.equals(group.resources[0].path, "/");
assert.equals(group.resources[0].file, "testbed.html");
},
"server address": {

@@ -257,0 +269,0 @@ "is parsed": function () {

@@ -0,0 +0,0 @@ var buster = require("buster-node");

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc