Skip to content

Commit

Permalink
Merge pull request #14 from TiagoDanin/renovate/xo-0.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency xo to ^0.25.3
  • Loading branch information
TiagoDanin committed Feb 2, 2020
2 parents 6a3aa83 + 72aa9e9 commit c5a13b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10,400 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"got": "^10.4.0",
"nuxt": "^2.11.0",
"vue": "^2.6.11",
"xo": "^0.24.0"
"xo": "^0.25.3"
},
"xo": {
"ignores": [
Expand Down
8 changes: 4 additions & 4 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ test.before('Init Nuxt.js', async () => {
nuxt.listen(4000, 'localhost')
})

test.after('Closing server', () => {
nuxt.close()
})

test('Route / and render HTML', async t => {
const html = await get('/')

Expand All @@ -27,7 +31,3 @@ test('Route / and render HTML', async t => {
t.true(html.includes('<span class="uk-label">Hello World</span>'))
t.true(html.includes('<h3 class="uk-card-title">Hi!</h3>'))
})

test.after('Closing server', () => {
nuxt.close()
})
Loading

0 comments on commit c5a13b5

Please sign in to comment.