mirror of
https://github.com/yldio/copilot.git
synced 2024-11-11 05:40:11 +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'));
|
||
|
});
|