0.0.4 • Published 6 years ago

@hugov/test-server v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

puppet-call

puppeteer helpers for testing

API

  • server(serverOptions, serverAction): Promise
    • serverAction({host, port, root, origin}):Promise
    • serverOptions: {root: string, port: number, routes: Object: host: string}
    • Initiates a server, evaluate serverAction, then closes the server before returning the serverAction result

License

MIT © Hugo Villeneuve