const test = require(process.env.TEST_AVA_REQUIRE_FROM); // This fixture is copied to a temporary directory, so require AVA through its configured path.if (process.env.TEMPLATE) {test('snapshots in try', async t => {const attempt = await t.try(tt => {tt.snapshot('in try');});attempt.commit();t.pass();});} else {test('snapshots in try', async t => {const attempt = await t.try(tt => {tt.snapshot('in try');});attempt.discard();t.pass();});}