Created
August 7, 2015 20:29
-
-
Save bryanforbes/9a4bfb362c8f64e4f733 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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