Created
November 14, 2018 03:17
-
-
Save ryanblock/c799ce26e80495030e42485addebbc6a to your computer and use it in GitHub Desktop.
This file contains 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
test('can get /', async t=> { | |
t.plan(1) | |
let url = 'http://localhost:3333' | |
let result = await tiny.get({url}) | |
t.ok(result.body, 'got a 200 response') | |
console.log(result.body) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment