Comparing version 0.8.7 to 0.8.8
@@ -12,2 +12,3 @@ /** | ||
'--timeout timeout for async tests', | ||
'--setup specify setup file(s) to use', | ||
'--stack-limit stack trace limit', | ||
@@ -14,0 +15,0 @@ ]; |
@@ -5,3 +5,3 @@ { | ||
"description": "", | ||
"version": "0.8.7", | ||
"version": "0.8.8", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "main": "lib/hydro.js", |
@@ -588,6 +588,6 @@ ;(function(){ | ||
var EventEmitter = require('evts'); | ||
var loa = require('loa'); | ||
var globalo = require('globalo'); | ||
var loader = require('fload'); | ||
var merge = require('super').merge; | ||
var loa = require('loa'); | ||
@@ -1273,2 +1273,4 @@ /** | ||
require.register("hydro/lib/hydro/suite/index.js", function(exports, require, module){ | ||
var util = require('../util'); | ||
/** | ||
@@ -1282,3 +1284,3 @@ * Test suite. | ||
function Suite(title) { | ||
this.title = title; | ||
this.title = util.isFunction(title) ? title.name : title; | ||
this.parent = null; | ||
@@ -1285,0 +1287,0 @@ this.tests = []; |
@@ -7,2 +7,2 @@ window.Hydro = require('hydro'); | ||
hydro.setup(); | ||
hydro.setup(); |
module.exports = function(config) { | ||
config.set({ | ||
basePath: '', | ||
frameworks: ['hydro'], | ||
files: [ | ||
'build/build.js', | ||
'hydro.karma.js', | ||
'test/*.js' | ||
], | ||
reporters: ['progress'], | ||
@@ -26,2 +20,19 @@ port: 9876, | ||
if (process.env.KARMA_TARGET === 'browserify') { | ||
// browserify | ||
config.set({ | ||
files: [ 'build/browserify.js'] | ||
}); | ||
} else { | ||
// component | ||
config.set({ | ||
frameworks: ['hydro'], | ||
files: [ | ||
'build/build.js', | ||
'hydro.karma.js', | ||
'test/*.js' | ||
] | ||
}); | ||
} | ||
if (process.env.TEST_ENV === 'sauce') { | ||
@@ -28,0 +39,0 @@ require('./karma.sauce')(config); |
@@ -6,6 +6,6 @@ /** | ||
var EventEmitter = require('evts'); | ||
var loa = require('loa'); | ||
var globalo = require('globalo'); | ||
var loader = require('fload'); | ||
var merge = require('super').merge; | ||
var loa = require('loa'); | ||
@@ -12,0 +12,0 @@ /** |
@@ -0,1 +1,3 @@ | ||
var util = require('../util'); | ||
/** | ||
@@ -9,3 +11,3 @@ * Test suite. | ||
function Suite(title) { | ||
this.title = title; | ||
this.title = util.isFunction(title) ? title.name : title; | ||
this.parent = null; | ||
@@ -12,0 +14,0 @@ this.tests = []; |
{ | ||
"name": "hydro", | ||
"version": "0.8.7", | ||
"version": "0.8.8", | ||
"preferGlobal": true, | ||
@@ -9,4 +9,3 @@ "description": "Teeny-weeny test runner for Node.js", | ||
"scripts": { | ||
"test": "bin/hydro && karma start", | ||
"coverage": "istanbul cover bin/_hydro -- --formatter hydro-silent" | ||
"test": "make test" | ||
}, | ||
@@ -27,2 +26,3 @@ "repository": { | ||
"hydro-simple": "*", | ||
"hydro-html": "*", | ||
"hydro-file-suite": "*", | ||
@@ -33,2 +33,3 @@ "hydro-minimal": "*", | ||
"component": "~0.18.0", | ||
"uglify-js": "*", | ||
"karma": "~0.10.8", | ||
@@ -39,4 +40,7 @@ "karma-chrome-launcher": "~0.1.1", | ||
"karma-safari-launcher": "~0.1.1", | ||
"karma-sauce-launcher": "git://github.com/embarkmobile/karma-sauce-launcher.git#feature-passfail", | ||
"karma-hydro": "*" | ||
"karma-sauce-launcher": "embarkmobile/karma-sauce-launcher#feature-passfail", | ||
"karma-hydro": "*", | ||
"hydro-karma-adapter": "*", | ||
"serve": "jkroso/serve#1.5.1", | ||
"browserify": "~3.18.0" | ||
}, | ||
@@ -46,3 +50,3 @@ "dependencies": { | ||
"evts": "0.0.1", | ||
"tryc": "~0.0.3", | ||
"tryc": "~0.0.4", | ||
"fload": "*", | ||
@@ -49,0 +53,0 @@ "loa": "0.0.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
74923
24
2326
20
2
26
Updatedtryc@~0.0.4