Skip to content

Commit 1bd3656

Browse files
committed
rm duplicate pathToMocks constant,
use pathToTestImageMocks in shortcut_paths
1 parent 5b97840 commit 1bd3656

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tasks/util/constants.js

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ var pathToTopojsonSrc = path.join(
1515
module.exports = {
1616
pathToRoot: pathToRoot,
1717
pathToSrc: pathToSrc,
18-
pathToMocks: path.join(pathToRoot, 'test/image/mocks'),
1918

2019
pathToPlotlySrc: path.join(pathToSrc, 'index.js'),
2120
pathToPlotlyBuild: path.join(pathToBuild, 'plotly.js'),

tasks/util/shortcut_paths.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var constants = require('./constants');
1010

1111
var shortcutsConfig = {
1212
'@src': constants.pathToSrc,
13-
'@mocks': constants.pathToMocks
13+
'@mocks': constants.pathToTestImageMocks
1414
};
1515

1616
module.exports = transformTools.makeRequireTransform('requireTransform',

0 commit comments

Comments
 (0)