chore: moving e2e tests to TypeScript, including typings for protractor.

This commit is contained in:
Hans Larsen
2016-04-01 15:21:15 -07:00
committed by Hans Larsen
parent e6693bf9f7
commit e58b76d210
9 changed files with 10777 additions and 1 deletions
+6 -1
View File
@@ -3,10 +3,15 @@
*/
const path = require('path');
/**
* Setup TypeScript for our tests.
*/
require('ts-node/register');
const E2E_BASE_URL = process.env['E2E_BASE_URL'] || 'http://localhost:4200';
const config = {
useAllAngular2AppRoots: true,
specs: [ path.join(__dirname, '../e2e/**/*.e2e.js') ],
specs: [ path.join(__dirname, '../e2e/**/*.e2e.ts') ],
baseUrl: E2E_BASE_URL
};