text: const {parentPort} = require('worker_threads');
  const pEvent = require('p-event');
  const test = require('../../../../entrypoints/main.cjs');
  
  test.serial('first pass', async t => {
  	t.pass();
  	const timer = setTimeout(() => {}, 60000); // Ensure process stays alive.
  	const source = parentPort || process;
  	await pEvent(source, 'message', message => {
  		if (message.ava) {
  			return message.ava.type === 'peer-failed';
  		}
  
  		return false;
  	});
  	clearTimeout(timer);
  });
  
  test.serial('second pass', t => {
  	t.pass();
  });
  
  test('third pass', t => {
  	t.pass();
  });
  