mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 22:20:06 +02:00
14 lines
202 B
JavaScript
14 lines
202 B
JavaScript
// 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'));
|
|
});
|