Update test

This commit is contained in:
Sébastien Chopin 2017-05-21 21:00:01 +02:00
parent d4f4c15f10
commit e5052c3a87
8 changed files with 7 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -7,5 +7,3 @@ function $reverseStr (str) {
}
Vue.prototype.$reverseStr = $reverseStr
export default $reverseStr

View File

@ -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

View File

@ -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