blob: 0194d4408c10a77fc800a120a30599ed37f87aed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
'use strict';
describe('durations', function () {
describe('when slow', function () {
it('should highlight in red', function (done) {
setTimeout(function () {
done();
}, 100);
});
});
describe('when reasonable', function () {
it('should highlight in yellow', function (done) {
setTimeout(function () {
done();
}, 50);
});
});
describe('when fast', function () {
it('should highlight in green', function (done) {
setTimeout(function () {
done();
}, 10);
});
});
});
|