You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
363 B

import test from 'ava';
test.serial(`outputs success info`, t => {
const output = require('../');
t.true(output.success);
t.is(output.name, 'requirable');
});
test.serial(`requiring package name requires root package`, t => {
// eslint-disable-next-line import/no-extraneous-dependencies, import/no-unresolved
t.notThrows(() => require('requirable'));
});