mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: moving e2e tests to TypeScript, including typings for protractor.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user