Skip to content

Instantly share code, notes, and snippets.

@bryanforbes
Created August 7, 2015 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanforbes/9a4bfb362c8f64e4f733 to your computer and use it in GitHub Desktop.
Save bryanforbes/9a4bfb362c8f64e4f733 to your computer and use it in GitHub Desktop.
import intern = require('intern');
import echo = require('intern/dojo/has!host-node?./services/echo');
let server: any;
if (echo && intern.mode === 'runner') {
echo.start().then(function (_server: any) {
server = _server;
});
}
export function teardown() {
server && server.close();
}
export const proxyPort = 9000;
// A fully qualified URL to the Intern proxy
export const proxyUrl = 'http://localhost:9001/';
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment