Browse Source

Test success info is outputted

pull/2/head
Luke Childs 7 years ago
parent
commit
f84c86a253
  1. 6
      test/requireable.js

6
test/requireable.js

@ -1,5 +1,7 @@
import test from 'ava';
test(`importing doesn't throw`, t => {
t.notThrows(() => require('../'));
test.serial(`outputs success info`, t => {
const output = require('../');
t.true(output.success);
t.is(output.name, 'requireable');
});

Loading…
Cancel
Save