test/integration/fixtures/options/delay.fixture.js
raw| 1 | 'use strict'; |
| 2 | |
| 3 | var assert = require('assert'); |
| 4 | var delay = 200; |
| 5 | |
| 6 | setTimeout(function () { |
| 7 | describe('delayed execution', function () { |
| 8 | it('should have no effect if attempted twice in the same suite', function () { |
| 9 | assert(true); |
| 10 | run(); |
| 11 | assert(true); |
| 12 | }); |
| 13 | }); |
| 14 | |
| 15 | run(); |
| 16 | }, delay); |