Getting Started
Installation
npm install frisby --save-devWriting and Running Tests
Install Jest
npm install --save-dev jestCreate your tests
mkdir -p __tests__/api
touch __tests__/api/api_spec.jsconst frisby = require('frisby');
it('should be a teapot', function () {
return frisby.get('http://httpbin.org/status/418')
.expect('status', 418);
});Run your tests from the CLI
Last updated