text: import test from 'ava';
  import delay from 'delay';
  import inRange from 'in-range';
  import timeSpan from '.';
  
  test('main', async t => {
  	const end = timeSpan();
  	await delay(100);
  	t.true(inRange(end(), {start: 80, end: 120}));
  	t.true(inRange(end.rounded(), {start: 80, end: 120}));
  	t.true(inRange(end.seconds(), {start: 0.08, end: 0.12}));
  	t.true(inRange(end.nanoseconds(), {start: 80000000, end: 120000000}));
  });
  