senecajs / seneca

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

explicit test for exports needed #803

Closed github-actions[bot] closed 4 years ago

github-actions[bot] commented 4 years ago

explicit test for exports needed

https://github.com/senecajs/seneca/blob/6b4a5532f438a638cfdb69ac80e65ca8bc5d6b34/lib/use.js#L90

            seneca_plugin: (tr, ctx, data) => {
                nua_1.default(data, tr.out.merge, { preserve: true });
                ctx.seneca.private$.plugins[data.plugin.fullname] = tr.out.plugin;
                return { stop: false };
            },
            // TODO: explicit test for exports needed
            seneca_export: (tr, ctx, data) => {
                Object.assign(data.exports, tr.out.exports);
                Object.assign(ctx.seneca.private$.exports, tr.out.exports);
                return { stop: false };
            }
        },
github-actions[bot] commented 4 years ago

Closed in fdd21a4e7e3cd07c7d90238e74e5d05329abd979

github-actions[bot] commented 4 years ago

Closed in fdd21a4e7e3cd07c7d90238e74e5d05329abd979