Buster extension: IIFE
Wrap every test file in a self invoking function to create a closure before sending tests to the browser.
- Good for browser testing (doesn't leak globals between test runs, if you do the right thing)
- Useless for node.js testing (node.js modules are closurized internally)
- Want other resources wrapped? Submit a PR!
npm install buster-extension-iife and then in your
extensions: [ require("buster-extension-iife") ]