Skip to content

Instantly share code, notes, and snippets.

@vitoo
Created February 5, 2019 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitoo/a6b1a06b0e75c0aaa4ef2b6d06022732 to your computer and use it in GitHub Desktop.
Save vitoo/a6b1a06b0e75c0aaa4ef2b6d06022732 to your computer and use it in GitHub Desktop.
Feature('Api');
require('chai').should();
var assert = require('assert');
Scenario('test something', async (I) => {
I.sendGetRequest('/api').then((response) => {
assert.equal(200, response.status);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment