How to use the frisby.patch function in frisby

To help you get started, we’ve selected a few frisby examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bkimminich / juice-shop / test / api / productReviewApiSpec.js View on Github external
it('POST single product review can be liked', () => {
    return frisby.patch(REST_URL + '/products/reviews', {
      headers: authHeader,
      body: {
        id: reviewId
      }
    })
      .expect('status', 200)
  })

frisby

Frisby.js v2.0: REST API Endpoint Testing built on Jasmine

BSD-3-Clause
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis