Skip to content

Commit e8aa9cb

Browse files
committed
#30a PR feedback: remove delay
1 parent b212086 commit e8aa9cb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/jasmine/tests/plot_interact_test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ var selectButton = require('../assets/modebar_button');
1111

1212
var MODEBAR_DELAY = 500;
1313

14-
// put callback in the event queue
15-
function delay(done) {
16-
setTimeout(done, 0);
17-
}
18-
1914
describe('Test plot structure', function() {
2015
'use strict';
2116

@@ -165,7 +160,7 @@ describe('Test plot structure', function() {
165160

166161
gd.on('plotly_relayout', relayoutCallback);
167162

168-
delay(done);
163+
done();
169164
});
170165
});
171166

0 commit comments

Comments
 (0)