From 6d70b64b2e13dceeeeb90f200cc0c44818011505 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 2 May 2016 00:00:19 -0700 Subject: [PATCH] Ensure module tests ran for coverage. --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 1a71a75a7..5e51d02f7 100644 --- a/test/test.js +++ b/test/test.js @@ -683,7 +683,7 @@ var path = require('path'), basePath = path.dirname(filePath); - if (isModularize && !(amd || isNpm)) { + if (coverage || (isModularize && !(amd || isNpm))) { lodashStable.each([ '_baseEach', '_Hash', @@ -15969,7 +15969,7 @@ QUnit.test('should work with a `root` of `this`', function(assert) { assert.expect(2); - if (!isModularize && !coverage && (!document && realm.object)) { + if (!coverage && !document && !isModularize && realm.object) { var fs = require('fs'), vm = require('vm'), expected = {},