Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f2c366c

Browse files
committed
try
1 parent 63ba88b commit f2c366c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/util/common.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,12 @@ exports.testImageWrapper = function(opts) {
102102
else {
103103
pathToElectron = [
104104
'xvfb-run',
105+
(isCI ? '-a' : ''),
105106
'--server-args \'-screen 0, 1024x768x24\'',
106107
constants.testContainerHome + '/../node_modules/.bin/electron'
107108
].join(' ');
108109

109-
pathToScript = path.join('plotly.js', 'test', 'image', opts.script);
110+
pathToScript = path.join(constants.testContainerHome, 'test', 'image', opts.script);
110111

111112
cmd = wrapDockerExecCmd(
112113
isCI,

0 commit comments

Comments
 (0)