| 1 |
'use strict'; |
| 2 |
|
| 3 |
var assert = require('assert'); |
| 4 |
var delay = 200; |
| 5 |
|
| 6 |
setTimeout(function () { |
| 7 |
describe('delayed execution should execute exclusive tests only', function () { |
| 8 |
it('should not run this test', function () { |
| 9 |
(true).should.equal(false); |
| 10 |
}); |
| 11 |
|
| 12 |
it.only('should run this', function () {}); |
| 13 |
|
| 14 |
it('should not run this test, neither', function () { |
| 15 |
(true).should.equal(false); |
| 16 |
}); |
| 17 |
|
| 18 |
it.only('should run this, too', function () {}); |
| 19 |
}); |
| 20 |
|
| 21 |
run(); |
| 22 |
}, delay); |
| 23 |
|
| 24 |
|