Skip to content

Commit 67ae5aa

Browse files
committed
adapt jasmine tests
1 parent 0d6fecc commit 67ae5aa

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test/jasmine/tests/bars_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var Plotly = require('@src/plotly');
1+
var Bars = require('@src/traces/bars');
22

33
describe('Test bars', function () {
44
'use strict';
@@ -9,7 +9,7 @@ describe('Test bars', function () {
99

1010
var defaultColor = '#444';
1111

12-
var supplyDefaults = Plotly.Bars.supplyDefaults;
12+
var supplyDefaults = Bars.supplyDefaults;
1313

1414
beforeEach(function() {
1515
traceOut = {};

test/jasmine/tests/histogram_test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var Plotly = require('@src/plotly');
1+
var supplyDefaults = require('@src/traces/histogram/defaults');
22

33
describe('Test histogram', function () {
44
'use strict';
@@ -7,8 +7,6 @@ describe('Test histogram', function () {
77
var traceIn,
88
traceOut;
99

10-
var supplyDefaults = Plotly.Histogram.supplyDefaults;
11-
1210
beforeEach(function() {
1311
traceOut = {};
1412
});

0 commit comments

Comments
 (0)