@atlas.js/braintree
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.2.0](https://github.com/strvcom/atlas.js/compare/@atlas.js/braintree@2.1.0...@atlas.js/braintree@2.2.0) (2019-02-20) | ||
### Features | ||
* **atlas:** log validation errors via atlas.log 🔎 ([83d088a](https://github.com/strvcom/atlas.js/commit/83d088a)), closes [#66](https://github.com/strvcom/atlas.js/issues/66) | ||
# [2.1.0](https://github.com/strvcom/atlas.js/compare/@atlas.js/braintree@2.0.1...@atlas.js/braintree@2.1.0) (2019-02-08) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@atlas.js/braintree", | ||
"description": "Braintree client as a component for @atlas.js", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"author": "Robert Rossmann <robert.rossmann@strv.com>", | ||
@@ -13,3 +13,3 @@ "bugs": "https://github.com/strvcom/atlas.js/issues", | ||
"devDependencies": { | ||
"@atlas.js/atlas": "^2.2.0" | ||
"@atlas.js/atlas": "^2.3.0" | ||
}, | ||
@@ -31,3 +31,3 @@ "engines": { | ||
}, | ||
"gitHead": "e67f1220a6aa157ef078f26075b6aa5bfad5ee18" | ||
"gitHead": "5c97a07bd8836b5ec1324990def51e7a310154af" | ||
} |
@@ -19,6 +19,7 @@ "use strict"; | ||
}); | ||
it('throws on invalid config', () => { | ||
it('throws on invalid config', function () { | ||
const atlas = new _atlas.Atlas({ | ||
root: __dirname | ||
}); | ||
this.sandbox.stub(atlas.log, 'error'); | ||
expect(() => atlas.service('braintree', _.Service)).to.throw(_atlas.errors.ValidationError); | ||
@@ -42,2 +43,2 @@ }); | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwaS50ZXN0Lm1qcyJdLCJuYW1lcyI6WyJkZXNjcmliZSIsIml0IiwiZXhwZWN0IiwiQnJhaW50cmVlIiwidG8iLCJiZSIsImEiLCJpbnN0YW5jZW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0gbmV3IEF0bGFzKHtcbiAgICAgIHJvb3Q6IF9fZGlybmFtZSxcbiAgICAgIGNvbmZpZzoge1xuICAgICAgICBzZXJ2aWNlczoge1xuICAgICAgICAgIGJyYWludHJlZToge1xuICAgICAgICAgICAgbWVyY2hhbnRJZDogJ2FiYycsXG4gICAgICAgICAgICBwdWJsaWNLZXk6ICdwdWJrZXktdGVzdCcsXG4gICAgICAgICAgICBwcml2YXRlS2V5OiAncHJpdmtleS10ZXN0JyxcbiAgICAgICAgICB9LFxuICAgICAgICB9LFxuICAgICAgfSxcbiAgICB9KVxuXG4gICAgZXhwZWN0KCgpID0+XG4gICAgICBhdGxhcy5zZXJ2aWNlKCdicmFpbnRyZWUnLCBCcmFpbnRyZWUpKS5ub3QudG8udGhyb3coKVxuICB9KVxufSlcbiJdfQ== |
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
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
24080
264