Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.