UNPKG

kontainer-di

Version:

A simple lightweight Dependency Injection container

19 lines (15 loc) 309 B
// Mock for modules/server.js var mockExpress = { get: function(){}, post: function(){}, put: function(){}, delete: function(){} } var mockServerFactory = function(config){ return { start: function(){}, stop: function(){}, app: mockExpress }; }; module.exports = mockServerFactory;