Created
June 7, 2017 00:08
-
-
Save jaylandro/4caacee3117eb1e39ed72e237df0f5d2 to your computer and use it in GitHub Desktop.
AVA Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import test from 'ava'; | |
test('bar', async t => { | |
const bar = Promise.resolve('food'); | |
t.is(await food, 'dinner'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment