mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Ensure module tests ran for coverage.
This commit is contained in:
@@ -683,7 +683,7 @@
|
|||||||
var path = require('path'),
|
var path = require('path'),
|
||||||
basePath = path.dirname(filePath);
|
basePath = path.dirname(filePath);
|
||||||
|
|
||||||
if (isModularize && !(amd || isNpm)) {
|
if (coverage || (isModularize && !(amd || isNpm))) {
|
||||||
lodashStable.each([
|
lodashStable.each([
|
||||||
'_baseEach',
|
'_baseEach',
|
||||||
'_Hash',
|
'_Hash',
|
||||||
@@ -15969,7 +15969,7 @@
|
|||||||
QUnit.test('should work with a `root` of `this`', function(assert) {
|
QUnit.test('should work with a `root` of `this`', function(assert) {
|
||||||
assert.expect(2);
|
assert.expect(2);
|
||||||
|
|
||||||
if (!isModularize && !coverage && (!document && realm.object)) {
|
if (!coverage && !document && !isModularize && realm.object) {
|
||||||
var fs = require('fs'),
|
var fs = require('fs'),
|
||||||
vm = require('vm'),
|
vm = require('vm'),
|
||||||
expected = {},
|
expected = {},
|
||||||
|
|||||||
Reference in New Issue
Block a user