Skip to content

Commit cd8c978

Browse files
committed
robustify plot_test
1 parent 8c8dc1f commit cd8c978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/plots_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ describe('Test Plots', function() {
415415
];
416416

417417
Plots.purge(gd);
418-
expect(Object.keys(gd)).toEqual(expectedKeys);
418+
expect(Object.keys(gd).sort()).toEqual(expectedKeys.sort());
419419
expect(gd.data).toBeUndefined();
420420
expect(gd.layout).toBeUndefined();
421421
expect(gd._fullData).toBeUndefined();

0 commit comments

Comments
 (0)