Dead simple library which helpes with modalar testing. Provides Node.js's require replacement. Designed to work with Karma test runner.
Modula is dead simple library which helps with modular testing. I was needed it for Node.js's require replacement to use with Karma test runner.
# ...if modula?modulaexport'lisn'Lisnelse if module?module.exports = Lisnelsewindow.Lisn = Lisn
Lisn = require'lisn'# ...
modula avaliable as npm and bower json.
modula is a global namespace.
exports associated with passed module
Returns module associated with
name. Also avaliable as
Backbone = require'backbone'
If module is not found, modula will throw exception.