Comparing version 1.10.0 to 1.10.1
@@ -31,3 +31,5 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
it, | ||
specify, | ||
describe, | ||
context, | ||
before, | ||
@@ -188,3 +190,5 @@ after, | ||
global.specify = global.it; | ||
global.describe = desc; | ||
global.context = global.describe; | ||
@@ -215,2 +219,2 @@ global.before = fn => { | ||
module.exports = desc; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2Rlc2MuanMiXSwibmFtZXMiOlsicGF0aCIsInJlcXVpcmUiLCJmcyIsImNhbGxzaXRlcyIsImdldCIsInRtcCIsIkpvaSIsIlJlcXVlc3RSZWNvcmRlciIsIkVudk1hbmFnZXIiLCJUaW1lS2VlcGVyIiwiQ29uc29sZVJlY29yZGVyIiwiUmFuZG9tU2VlZGVyIiwibW9jaGEiLCJpdCIsImRlc2NyaWJlIiwiYmVmb3JlIiwiYWZ0ZXIiLCJiZWZvcmVFYWNoIiwiYWZ0ZXJFYWNoIiwiZ2V0UGFyZW50cyIsInRlc3QiLCJuYW1lcyIsImNUZXN0IiwidW5kZWZpbmVkIiwic3BsaWNlIiwidGl0bGUiLCJwYXJlbnQiLCJnZW5DYXNzZXR0ZU5hbWUiLCJmaWx0ZXIiLCJlIiwibWFwIiwicmVwbGFjZSIsImMiLCJ0b0xvd2VyQ2FzZSIsIl8iLCJjaGFyIiwidG9VcHBlckNhc2UiLCJjb25jYXQiLCJqb2luIiwiZGVzYyIsInN1aXRlTmFtZSIsIm9wdHNPclRlc3RzIiwidGVzdHNPck51bGwiLCJvcHRzIiwidGVzdHMiLCJ0ZXN0RmlsZSIsInJlc29sdmUiLCJnZXRGaWx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FyRmlsZSksIGZhbHNlKTtcbiAgICAgICAgICBlbnZNYW5hZ2VyRmlsZS5hcHBseSgpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChlbnZWYXJzICE9PSBudWxsKSB7XG4gICAgICAgICAgZW52TWFuYWdlckRlc2MgPSBFbnZNYW5hZ2VyKGVudlZhcnMsIGZhbHNlKTtcbiAgICAgICAgICBlbnZNYW5hZ2VyRGVzYy5hcHBseSgpO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aW1lc3RhbXAgIT09IG51bGwpIHtcbiAgICAgICAgICB0aW1lS2VlcGVyID0gVGltZUtlZXBlcigpO1xuICAgICAgICAgIHRpbWVLZWVwZXIuZnJlZXplKHRpbWVzdGFtcCk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGNyeXB0b1NlZWQgIT09IG51bGwpIHtcbiAgICAgICAgICByYW5kb21TZWVkZXIgPSBSYW5kb21TZWVkZXIoKTtcbiAgICAgICAgICByYW5kb21TZWVkZXIuc2VlZChjcnlwdG9TZWVkKTtcbiAgICAgICAgfVxuICAgICAgICBhd2FpdCBiZWZvcmVDYigpO1xuICAgICAgfSkoKTtcbiAgICB9KTtcblxuICAgIG1vY2hhLmFmdGVyKGFzeW5jICgpID0+IHtcbiAgICAgIGlmIChyYW5kb21TZWVkZXIgIT09IG51bGwpIHtcbiAgICAgICAgcmFuZG9tU2VlZGVyLnJlbGVhc2UoKTtcbiAgICAgICAgcmFuZG9tU2VlZGVyID0gbnVsbDtcbiAgICAgIH1cbiAgICAgIGlmICh0aW1lS2VlcGVyICE9PSBudWxsKSB7XG4gICAgICAgIHRpbWVLZWVwZXIudW5mcmVlemUoKTtcbiAgICAgICAgdGltZUtlZXBlciA9IG51bGw7XG4gICAgICB9XG4gICAgICBpZiAoZW52TWFuYWdlckRlc2MgIT09IG51bGwpIHtcbiAgICAgICAgZW52TWFuYWdlckRlc2MudW5hcHBseSgpO1xuICAgICAgICBlbnZNYW5hZ2VyRGVzYyA9IG51bGw7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amVjdC5lbnRyaWVzKG1vY2hhKS5mb3JFYWNoKChbaywgdl0pID0+IHtcbiAgICAgIGdsb2JhbFtrXSA9IHY7XG4gICAgfSk7XG4gIH0pO1xufTtcbm1vZHVsZS5leHBvcnRzID0gZGVzYztcbiJdfQ== |
{ | ||
"name": "node-tdd", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"description": "Drop in replacement for mocha to abstract commonly used test setups", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
61370
368