File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ var constants = require('./constants');
11
11
var shortcutsConfig = {
12
12
'@src' : constants . pathToSrc ,
13
13
'@lib' : constants . pathToLib ,
14
- '@mocks' : constants . pathToTestImageMocks
14
+ '@mocks' : constants . pathToTestImageMocks ,
15
+ '@build' : constants . pathToBuild
15
16
} ;
16
17
17
18
module . exports = transformTools . makeRequireTransform ( 'requireTransform' ,
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ var customMatchers = require('../assets/custom_matchers');
11
11
12
12
var noop = function ( ) { } ;
13
13
14
+ Plotly . setPlotConfig ( {
15
+ mapboxAccessToken : require ( '@build/credentials.json' ) . MAPBOX_ACCESS_TOKEN
16
+ } ) ;
17
+
14
18
15
19
describe ( 'mapbox defaults' , function ( ) {
16
20
'use strict' ;
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ var createGraphDiv = require('../assets/create_graph_div');
9
9
var destroyGraphDiv = require ( '../assets/destroy_graph_div' ) ;
10
10
var customMatchers = require ( '../assets/custom_matchers' ) ;
11
11
12
+ Plotly . setPlotConfig ( {
13
+ mapboxAccessToken : require ( '@build/credentials.json' ) . MAPBOX_ACCESS_TOKEN
14
+ } ) ;
15
+
12
16
13
17
describe ( 'scattermapbox defaults' , function ( ) {
14
18
'use strict' ;
You can’t perform that action at this time.
0 commit comments