UNPKG

only-changed-jest-watch-plugin

Version:

Jest watch plugin for running either only the modified test (for TDD), or tests of dependant modules

9 lines (8 loc) 330 B
'use strict'; require('../../modules/es6.weak-set'); require('../../modules/es7.weak-set.from'); var $WeakSet = require('../../modules/_core').WeakSet; var $from = $WeakSet.from; module.exports = function from(source, mapFn, thisArg) { return $from.call(typeof this === 'function' ? this : $WeakSet, source, mapFn, thisArg); };