8000 fix(coverage): coverage report was failing due to wrong path in test · wxqGitHub/log4js-node@069d94a · GitHub
[go: up one dir, main page]

Skip to content

Commit 069d94a

Browse files
author
Gareth Jones
committed
fix(coverage): coverage report was failing due to wrong path in test
1 parent 822ca2e commit 069d94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tap/configuration-validation-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ test('log4js configuration validation', (batch) => {
255255
sandboxConfig.requires[`${mainPath}/cheese`] = testAppender('correct');
256256
// add this one, because when we're running coverage the main path is a bit different
257257
sandboxConfig.requires[
258-
`${path.join(mainPath, '../../node_modules/tap/node_modules/nyc/bin/cheese')}`
258+
`${path.join(mainPath, '../../node_modules/nyc/bin/cheese')}`
259259
] = testAppender('correct');
260260
const SandboxedConfiguration = sandbox.require('../../lib/configuration', sandboxConfig);
261261

0 commit comments

Comments
 (0)
0