blob: 4f319b8a3c321e15038149ec668deab3c159604f (
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
|
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);
})
})
})
|