UNPKG

@zkochan/pnpm

Version:

A fast implementation of npm install

17 lines (14 loc) 367 B
/* global before */ if (typeof process === 'object') { module.exports = function () { var jsdom = require('mocha-jsdom') jsdom() before(function () { global.expect = require('expect') global.onmount = require('../index') }) } } else { if (window.$) window.onmount = window.$.onmount window.require = function () { /* noop */ } }