How to use the frisby.delete 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 / quantityApiSpec.js View on Github external
.then(({ json }) => {
        return frisby.delete(API_URL + '/Quantitys/1', {
          headers: { Authorization: 'Bearer ' + json.authentication.token, 'content-type': 'application/json' }
        })
          .expect('status', 401)
      })
  })

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