I'm using grunt-jasmine-nodejs and I have 3 specs that require the same file:
I have code like this:
$.platform = $.platform || {};
console.log($.platform.formSupport);
require('../runtime/platform/js/modules/platform.formSupport.js');
console.log($.platform.formSupport);
each file that console.log before and after require that file and I get only one instance (after first require) and the rest return undefined. How can I load same file multiple times in different specs?