Skip to content

Commit

Permalink
Merge pull request #23 from Ethan-Arrowood/update
Browse files Browse the repository at this point in the history
Update everything
  • Loading branch information
delvedor authored Feb 27, 2018
2 parents dce2859 + 5335f45 commit ef4fb53
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: node_js

node_js:
- "9"
- "8"
- "6"
- "4"

notifications:
email:
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ function fastifyReact (fastify, options, next) {
}

module.exports = fp(fastifyReact, {
fastify: '>=0.13.1',
fastify: '>=1.0.0-rc.1',
name: 'fastify-react'
})
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
},
"homepage": "https://github.com/fastify/fastify-react#readme",
"dependencies": {
"fastify-plugin": "^0.2.1",
"next": "^4.2.1"
"fastify-plugin": "^0.2.2",
"next": "^5.0.0"
},
"devDependencies": {
"fastify": "^0.39.0",
"fastify": "^1.0.0-rc.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"standard": "^10.0.3",
Expand Down
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('should return an html document', t => {
}, (err, res) => {
t.error(err)
t.equal(res.statusCode, 200)
t.equal(res.headers['content-type'], 'text/html')
t.equal(res.headers['content-type'], 'text/html; charset=utf-8')
})

fastify.close()
Expand All @@ -42,7 +42,7 @@ test('should support different methods', t => {
}, (err, res) => {
t.error(err)
t.equal(res.statusCode, 200)
t.equal(res.headers['content-type'], 'text/html')
t.equal(res.headers['content-type'], 'text/html; charset=utf-8')
})

fastify.close()
Expand All @@ -66,7 +66,7 @@ test('should support a custom handler', t => {
}, (err, res) => {
t.error(err)
t.equal(res.statusCode, 200)
t.equal(res.headers['content-type'], 'text/html')
t.equal(res.headers['content-type'], 'text/html; charset=utf-8')
})

fastify.close()
Expand Down

0 comments on commit ef4fb53

Please sign in to comment.