UNPKG

only-changed-jest-watch-plugin

Version:

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

11 lines (10 loc) 321 B
'use strict'; // 19.1.3.6 Object.prototype.toString() var classof = require('./_classof'); var test = {}; test[require('./_wks')('toStringTag')] = 'z'; if (test + '' != '[object z]') { require('./_redefine')(Object.prototype, 'toString', function toString() { return '[object ' + classof(this) + ']'; }, true); }