Skip to content

hville/test-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

static files and in-memory dev server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published