Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kellyselden/ember-cli-test-server

Start a long-running EmberCLI server in a test environment
https://github.com/kellyselden/ember-cli-test-server

Last synced: 16 days ago
JSON representation

Start a long-running EmberCLI server in a test environment

Awesome Lists containing this project

README

        

# ember-cli-test-server

[![npm version](https://badge.fury.io/js/ember-cli-test-server.svg)](https://badge.fury.io/js/ember-cli-test-server)

Start a long-running [Ember CLI](https://ember-cli.com) server in a test environment

## Usage

The server will run whatever you have set up in your `npm start` script (ex. `ember serve`).

```js
const Server = require('ember-cli-test-server');

let server = new Server();

let port = await server.start();

await server.stop();
```