joyent-portal/cloudapi-graphql/test/noop.test.js

14 lines
202 B
JavaScript
Raw Normal View History

// TODO: REMOVE, JUST FOR AN EXAMPLE
const test = require('ava');
test('foo', t => {
t.pass();
});
test('bar', t => {
const bar = Promise.resolve('bar');
bar.then(() => t.is(bar, 'bar'));
});