Skip to content

Commit 142e661

Browse files
committed
point plain_obj and mock tests to use build instead of dist
1 parent c3197d3 commit 142e661

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/test_mock.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var plotlyServerDom = new jsdom.JSDOM('', { runScripts: 'dangerously'});
77
plotlyServerDom.window.URL.createObjectURL = function() {};
88

99
// Run Plotly inside jsdom
10-
var plotlyJsPath = require.resolve('../dist/plotly.js');
10+
var plotlyJsPath = require.resolve('../build/plotly.js');
1111
var plotlyJsSource = fs.readFileSync(plotlyJsPath, 'utf-8');
1212
plotlyServerDom.window.eval(plotlyJsSource);
1313

tasks/test_plain_obj.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var plotlyServerDom = new jsdom.JSDOM('', { runScripts: 'dangerously'});
66
plotlyServerDom.window.URL.createObjectURL = function() {};
77

88
// Run Plotly inside jsdom
9-
var plotlyJsPath = require.resolve('../dist/plotly.js');
9+
var plotlyJsPath = require.resolve('../build/plotly.js');
1010
var plotlyJsSource = fs.readFileSync(plotlyJsPath, 'utf-8');
1111
plotlyServerDom.window.eval(plotlyJsSource);
1212

0 commit comments

Comments
 (0)