From 069d94aad68d5a8cd9e9db042827bc631b57c49c Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 19 Jan 2018 08:41:16 +1100 Subject: [PATCH] fix(coverage): coverage report was failing due to wrong path in test --- test/tap/configuration-validation-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/configuration-validation-test.js b/test/tap/configuration-validation-test.js index 58c4250..cf06de1 100644 --- a/test/tap/configuration-validation-test.js +++ b/test/tap/configuration-validation-test.js @@ -255,7 +255,7 @@ test('log4js configuration validation', (batch) => { sandboxConfig.requires[`${mainPath}/cheese`] = testAppender('correct'); // add this one, because when we're running coverage the main path is a bit different sandboxConfig.requires[ - `${path.join(mainPath, '../../node_modules/tap/node_modules/nyc/bin/cheese')}` + `${path.join(mainPath, '../../node_modules/nyc/bin/cheese')}` ] = testAppender('correct'); const SandboxedConfiguration = sandbox.require('../../lib/configuration', sandboxConfig);