ava/test/assertions/test.js
2020-05-05 15:07:07 +02:00

7 lines
224 B
JavaScript

const test = require('@ava/test');
const exec = require('../helpers/exec');
test('happy path', async t => {
const result = await exec.fixture('happy-path.js');
t.snapshot(result.stats.passed.map(({title}) => title));
});