mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-06-30 05:32:00 +02:00
12 lines
161 B
JavaScript
12 lines
161 B
JavaScript
|
import test from 'ava';
|
||
|
|
||
|
test('foo', t => {
|
||
|
t.pass();
|
||
|
});
|
||
|
|
||
|
test('bar', async t => {
|
||
|
const bar = Promise.resolve('bar');
|
||
|
|
||
|
t.is(await bar, 'bar');
|
||
|
});
|