rename localWebServer.create to listen

This commit is contained in:
Lloyd Brookes
2017-07-08 20:01:56 +01:00
parent 4533b5c1d4
commit 6757521946
3 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ const runner = new TestRunner()
runner.test('basic', async function () {
const port = 9000 + this.index
const localWebServer = new LocalWebServer()
const server = localWebServer.create({
const server = localWebServer.listen({
port: port,
directory: 'test/fixture'
})