Skip to content

Commit

Permalink
fix(package): update expect to version 22.0.3 (#421)
Browse files Browse the repository at this point in the history
* fix(package): update expect to version 22.0.3

Closes #419

* generate package-lock.json

* remove double wrapping before function 😂
  • Loading branch information
Kristján Oddsson authored Dec 28, 2017
1 parent eadb2be commit 25171c0
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 206 deletions.
8 changes: 3 additions & 5 deletions endpoints/hospital/tests/integration_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ const helpers = require('../../../lib/test_helpers.js')

describe('hospital', () => {
before(() => {
before(() => {
nock('http://www.landspitali.is/')
.get('/')
.reply(200, fs.readFileSync(`${__dirname}/test.fixture`))
})
nock('http://www.landspitali.is/')
.get('/')
.reply(200, fs.readFileSync(`${__dirname}/test.fixture`))
})
// The only thing that changes is the form attribute, so why not just re-use the object
const fieldsToCheckFor = [
Expand Down
Loading

0 comments on commit 25171c0

Please sign in to comment.