Skip to content

Commit cc705c3

Browse files
committed
robustify plot_test
1 parent d0af01b commit cc705c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/plots_test.js

Lines changed: 1 addition & 1 deletion
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)