Skip to content

Commit 3771863

Browse files
authored
Merge pull request #1708 from plotly/test-assets-wo-shortcut-path
Replace @src shortcut paths with `../../../src` in test assets
2 parents 13c1237 + 5d12411 commit 3771863

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

test/jasmine/assets/custom_matchers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
var isNumeric = require('fast-isnumeric');
4-
var Lib = require('@src/lib');
4+
var Lib = require('../../../src/lib');
55
var deepEqual = require('deep-equal');
66

77
module.exports = {

test/jasmine/assets/double_click.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var click = require('./click');
22
var getNodeCoords = require('./get_node_coords');
3-
var DBLCLICKDELAY = require('@src/constants/interactions').DBLCLICKDELAY;
3+
var DBLCLICKDELAY = require('../../../src/constants/interactions').DBLCLICKDELAY;
44

55
/*
66
* double click on a point.

test/jasmine/assets/modebar_button.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
'use strict';
22

33
var d3 = require('d3');
4-
5-
var modeBarButtons = require('@src/components/modebar/buttons');
6-
4+
var modeBarButtons = require('../../../src/components/modebar/buttons');
75

86
module.exports = function selectButton(modeBar, name) {
97
var button = {};

test/jasmine/assets/mouse_event.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var Lib = require('@src/lib');
1+
var Lib = require('../../../src/lib');
22

33
module.exports = function(type, x, y, opts) {
44
var fullOpts = {

0 commit comments

Comments
 (0)