Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Sep 18, 2019
1 parent 2186bec commit 1bebe5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/proxy/test/unit/http/util/security.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function(n){for(;!function(l){return l===l.parent || l.parent.__Cypress__}(l)&&f
const downloadFile = () => {
return rp(url)
.then((resp) => {
Promise.fromCallback((cb) => {
return Promise.fromCallback((cb) => {
fs.writeFile(pathToLib, resp, cb)
})
.return(resp)
Expand All @@ -242,8 +242,6 @@ function(n){for(;!function(l){return l===l.parent || l.parent.__Cypress__}(l)&&f
})
.catch(downloadFile)
.then((libCode) => {
libCode = libCode.toString()

let stripped = security.strip(libCode)
// nothing should have changed!

Expand Down

0 comments on commit 1bebe5d

Please sign in to comment.