Skip to content

Commit

Permalink
remove unusual use of whitelist callback + assertion (#87)
Browse files Browse the repository at this point in the history
* update gitignore

* remove unusual use of whitelist callback + assertion

- see #86
  • Loading branch information
jennifer-shehane authored Jun 29, 2018
1 parent d052c7e commit 7f54e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ cypress/screenshots
cypress/videos
cypress/fixtures/profile.json
cypress/fixtures/users.json
.history
.vscode
5 changes: 0 additions & 5 deletions cypress/integration/examples/cypress_api.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ context('Cypress.Server', () => {
Cypress.Server.defaults({
delay: 0,
force404: false,
// eslint-disable-next-line no-unused-vars
whitelist (xhr) {
// handle custom logic for whitelisting
expect(xhr).to.be.an('object')
},
})
})
})
Expand Down

0 comments on commit 7f54e6d

Please sign in to comment.