@beautiful-code/vanilla-bean
Advanced tools
Comparing version 0.0.1 to 0.0.3
@@ -38,4 +38,4 @@ 'use strict'; | ||
testFunction: function testFunction(func) { | ||
return function (test) { | ||
return func(test); | ||
return function () { | ||
return func.apply(undefined, arguments); | ||
}; | ||
@@ -42,0 +42,0 @@ }, |
@@ -12,2 +12,4 @@ 'use strict'; | ||
var _ConsoleUtils = require('../lib/ConsoleUtils'); | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } | ||
@@ -97,3 +99,3 @@ | ||
} catch (err) { | ||
error(err); | ||
(0, _ConsoleUtils.error)(err); | ||
_this.validateTest(err, expected); | ||
@@ -106,3 +108,3 @@ } | ||
}, function (err) { | ||
error(err); | ||
(0, _ConsoleUtils.error)(err); | ||
_this.validateTest(err, expected); | ||
@@ -109,0 +111,0 @@ }); |
@@ -18,2 +18,4 @@ 'use strict'; | ||
var _ConsoleUtils = require('../lib/ConsoleUtils'); | ||
var _Test = require('./Test'); | ||
@@ -20,0 +22,0 @@ |
{ | ||
"name": "@beautiful-code/vanilla-bean", | ||
"version": "0.0.1", | ||
"version": "0.0.3", | ||
"description": "One Paragraph of project description goes here", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
29163
574