Skip to content

Instantly share code, notes, and snippets.

@tadjik1
Created November 2, 2015 12:58
Show Gist options
  • Save tadjik1/2874d268016a1a52df6c to your computer and use it in GitHub Desktop.
Save tadjik1/2874d268016a1a52df6c to your computer and use it in GitHub Desktop.
api-test.js
it('should return response', async () => {
const result = await API.get('/test', {});
expect(result).to.deep.equal({hello: 'world', meta: {status: 200}});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment