senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.95k stars 314 forks source link

test this!!! #814

Closed github-actions[bot] closed 4 years ago

github-actions[bot] commented 4 years ago

test this!!!

https://github.com/senecajs/seneca/blob/7add93ec19b0a5663cdfad5090d56c64bd431ae7/lib/use.js#L382

            // NOTE: plugin error codes are in their own namespaces
            // TODO: test this!!!
            let errors = plugin.errors || (plugin.define && plugin.define.errors);
            if (errors) {
                base.errors = errors;