This package has been deprecated

Author message:

No longer maintained

buster-extension-iife

0.1.1 • Public • Published

Buster extension: IIFE

Build Status

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!

Usage

npm install buster-extension-iife and then in your buster.js include:

extensions: [
	require("buster-extension-iife")
]

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i buster-extension-iife

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • dominykas
    • insidewarehouse