Skip to content

Commit 5160948

Browse files
committed
test: tag @flaky test, 🔪 useless lines
1 parent 02e4089 commit 5160948

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/jasmine/tests/histogram2d_test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ describe('Test histogram2d', function() {
172172
});
173173

174174
['histogram2d', 'histogram2dcontour'].forEach(function(traceType) {
175-
it('should sort z data based on axis categoryorder for ' + traceType, function() {
175+
it('@flaky should sort z data based on axis categoryorder for ' + traceType, function() {
176176
var mock = require('@mocks/heatmap_categoryorder');
177177
var mockCopy = Lib.extendDeep({}, mock);
178178
var data = mockCopy.data[0];
@@ -215,10 +215,6 @@ describe('Test histogram2d', function() {
215215
layout.yaxis.categoryarray = ['a', 'd', 'b', 'c'];
216216

217217
var out = _calc(data, layout);
218-
layout.xaxis.categoryorder = 'array';
219-
layout.xaxis.categoryarray = ['x', 'z', 'y', 'w'];
220-
layout.yaxis.categoryorder = 'array';
221-
layout.yaxis.categoryarray = ['a', 'd', 'b', 'c'];
222218

223219
expect(out._xcategories).toEqual(layout.xaxis.categoryarray, 'xaxis should reorder');
224220
expect(out._ycategories).toEqual(layout.yaxis.categoryarray, 'yaxis should reorder');

0 commit comments

Comments
 (0)