Skip to content

Commit 4834703

Browse files
committed
Fix broken tests
1 parent 36207ee commit 4834703

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

test/jasmine/tests/select_test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ describe('select box and lasso', function() {
180180
pointNumber: 0,
181181
x: 0.002,
182182
y: 16.25,
183-
identifier: undefined
183+
id: undefined
184184
}, {
185185
curveNumber: 0,
186186
pointNumber: 1,
187187
x: 0.004,
188188
y: 12.5,
189-
identifier: undefined
189+
id: undefined
190190
}], 'with the correct selecting points');
191191
assertRange(selectingData.range, {
192192
x: [0.002000, 0.0046236],
@@ -199,13 +199,13 @@ describe('select box and lasso', function() {
199199
pointNumber: 0,
200200
x: 0.002,
201201
y: 16.25,
202-
identifier: undefined
202+
id: undefined
203203
}, {
204204
curveNumber: 0,
205205
pointNumber: 1,
206206
x: 0.004,
207207
y: 12.5,
208-
identifier: undefined
208+
id: undefined
209209
}], 'with the correct selected points');
210210
assertRange(selectedData.range, {
211211
x: [0.002000, 0.0046236],
@@ -260,7 +260,7 @@ describe('select box and lasso', function() {
260260
pointNumber: 10,
261261
x: 0.099,
262262
y: 2.75,
263-
identifier: undefined
263+
id: undefined
264264
}], 'with the correct selecting points');
265265

266266
expect(selectedCnt).toEqual(1, 'with the correct selected count');
@@ -269,7 +269,7 @@ describe('select box and lasso', function() {
269269
pointNumber: 10,
270270
x: 0.099,
271271
y: 2.75,
272-
identifier: undefined
272+
id: undefined
273273
}], 'with the correct selected points');
274274

275275
doubleClick(250, 200).then(function() {

test/jasmine/tests/transition_test.js

+3-6
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,19 @@ describe('Plots.supplyTransitionDefaults', function() {
1515
expect(Plots.supplyTransitionDefaults({})).toEqual({
1616
duration: 500,
1717
ease: 'cubic-in-out',
18-
redraw: true,
19-
delay: 0,
18+
redraw: true
2019
});
2120
});
2221

2322
it('uses provided values', function() {
2423
expect(Plots.supplyTransitionDefaults({
2524
duration: 100,
2625
ease: 'quad-in-out',
27-
redraw: false,
28-
delay: 50,
26+
redraw: false
2927
})).toEqual({
3028
duration: 100,
3129
ease: 'quad-in-out',
32-
redraw: false,
33-
delay: 50,
30+
redraw: false
3431
});
3532
});
3633

0 commit comments

Comments
 (0)