Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(({ json }) => {
return frisby.delete(API_URL + '/Quantitys/1', {
headers: { Authorization: 'Bearer ' + json.authentication.token, 'content-type': 'application/json' }
})
.expect('status', 401)
})
})