Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('ignores specified modules, using actual from requirejs', function() {
var module = require('ignore');
expect(module.ignore).toBe(true);
module.newprop = 'a';
module = testr('ignore');
expect(module.newprop).toBe('a');
});