|
@@ -93,13 +93,13 @@ describe( 'ContextualToolbar', () => {
|
|
|
// Still not yet.
|
|
// Still not yet.
|
|
|
sinon.assert.notCalled( spy );
|
|
sinon.assert.notCalled( spy );
|
|
|
|
|
|
|
|
- // Another 100 ms waiting.
|
|
|
|
|
|
|
+ // Another 101 ms waiting.
|
|
|
setTimeout( () => {
|
|
setTimeout( () => {
|
|
|
// And here it is.
|
|
// And here it is.
|
|
|
sinon.assert.calledOnce( spy );
|
|
sinon.assert.calledOnce( spy );
|
|
|
done();
|
|
done();
|
|
|
}, 100 );
|
|
}, 100 );
|
|
|
- }, 100 );
|
|
|
|
|
|
|
+ }, 101 );
|
|
|
}, 100 );
|
|
}, 100 );
|
|
|
} );
|
|
} );
|
|
|
|
|
|