upgrade test-runner
This commit is contained in:
@ -3,7 +3,7 @@ const fetch = require('node-fetch')
|
||||
const LocalWebServer = require('../')
|
||||
const a = require('assert')
|
||||
|
||||
const tom = module.exports = new Tom('api')
|
||||
const tom = module.exports = new Tom()
|
||||
|
||||
tom.test('basic', async function () {
|
||||
const port = 9000 + this.index
|
||||
|
@ -3,7 +3,7 @@ const a = require('assert')
|
||||
const WsCli = require('../lib/cli-app')
|
||||
const fetch = require('node-fetch')
|
||||
|
||||
const tom = module.exports = new Tom('cli', { concurrency: 1 })
|
||||
const tom = module.exports = new Tom({ maxConcurrency: 1 })
|
||||
|
||||
tom.test('simple', async function () {
|
||||
const port = 7500 + this.index
|
||||
|
@ -4,7 +4,7 @@ const LocalWebServer = require('../')
|
||||
const WsCli = require('../lib/cli-app')
|
||||
const a = require('assert')
|
||||
|
||||
const tom = module.exports = new Tom('sequential', { concurrency: 1 })
|
||||
const tom = module.exports = new Tom({ maxConcurrency: 1 })
|
||||
|
||||
let origCwd = ''
|
||||
|
||||
|
Reference in New Issue
Block a user