From e5052c3a8744eeab2d558af0797515b85dd9558a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Sun, 21 May 2017 21:00:01 +0200 Subject: [PATCH] Update test --- test/basic.dev.test.js | 2 +- test/basic.generate.test.js | 2 +- test/basic.test.js | 2 +- test/children.test.js | 2 +- test/error.test.js | 2 +- test/fixtures/module/modules/basic/reverse.js | 2 -- test/module.test.js | 2 +- test/with-config.test.js | 2 +- 8 files changed, 7 insertions(+), 9 deletions(-) diff --git a/test/basic.dev.test.js b/test/basic.dev.test.js index b66e74fcbb..9d1f02f968 100644 --- a/test/basic.dev.test.js +++ b/test/basic.dev.test.js @@ -1,7 +1,7 @@ import test from 'ava' import { resolve } from 'path' import rp from 'request-promise-native' -const port = 4000 +const port = 4001 const url = (route) => 'http://localhost:' + port + route let nuxt = null diff --git a/test/basic.generate.test.js b/test/basic.generate.test.js index d771ebc167..254dc1453e 100644 --- a/test/basic.generate.test.js +++ b/test/basic.generate.test.js @@ -4,7 +4,7 @@ import http from 'http' import serveStatic from 'serve-static' import finalhandler from 'finalhandler' import rp from 'request-promise-native' -const port = 4001 +const port = 4002 const url = (route) => 'http://localhost:' + port + route let nuxt = null diff --git a/test/basic.test.js b/test/basic.test.js index a8969289e6..514ccf39c0 100755 --- a/test/basic.test.js +++ b/test/basic.test.js @@ -3,7 +3,7 @@ import { resolve } from 'path' import rp from 'request-promise-native' import stdMocks from 'std-mocks' -const port = 4002 +const port = 4003 const url = (route) => 'http://localhost:' + port + route let nuxt = null diff --git a/test/children.test.js b/test/children.test.js index 2363392832..261b878380 100644 --- a/test/children.test.js +++ b/test/children.test.js @@ -1,6 +1,6 @@ import test from 'ava' import { resolve } from 'path' -const port = 4003 +const port = 4004 // const url = (route) => 'http://localhost:' + port + route let nuxt = null diff --git a/test/error.test.js b/test/error.test.js index e78f36e8da..e12120ed2e 100644 --- a/test/error.test.js +++ b/test/error.test.js @@ -1,6 +1,6 @@ import test from 'ava' import { resolve } from 'path' -const port = 4004 +const port = 4005 const url = (route) => 'http://localhost:' + port + route let nuxt = null diff --git a/test/fixtures/module/modules/basic/reverse.js b/test/fixtures/module/modules/basic/reverse.js index c2628cd9ad..39e01fba3b 100755 --- a/test/fixtures/module/modules/basic/reverse.js +++ b/test/fixtures/module/modules/basic/reverse.js @@ -7,5 +7,3 @@ function $reverseStr (str) { } Vue.prototype.$reverseStr = $reverseStr - -export default $reverseStr diff --git a/test/module.test.js b/test/module.test.js index 5959316003..7938b317f8 100755 --- a/test/module.test.js +++ b/test/module.test.js @@ -2,7 +2,7 @@ import test from 'ava' import { resolve } from 'path' import rp from 'request-promise-native' -const port = 4005 +const port = 4006 const url = (route) => 'http://localhost:' + port + route let nuxt = null diff --git a/test/with-config.test.js b/test/with-config.test.js index 2025554f24..f93455bd4d 100644 --- a/test/with-config.test.js +++ b/test/with-config.test.js @@ -1,6 +1,6 @@ import test from 'ava' import { resolve } from 'path' -const port = 4006 +const port = 4007 const url = (route) => 'http://localhost:' + port + route let nuxt = null