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