Skip to content

Commit e58b76d

Browse files
hanslHans Larsen
authored andcommitted
chore: moving e2e tests to TypeScript, including typings for protractor.
1 parent e6693bf commit e58b76d

File tree

9 files changed

+10777
-1
lines changed

9 files changed

+10777
-1
lines changed

e2e/e2e.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference path="typings/node/index.d.ts" />
2+
/// <reference path="typings/es6-shim/es6-shim.d.ts" />
3+
/// <reference path="typings/jasmine/jasmine.d.ts" />
4+
/// <reference path="typings/selenium-webdriver/index.d.ts" />
5+
/// <reference path="typings/angular-protractor/index.d.ts" />

e2e/index.e2e.js renamed to e2e/index.e2e.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference path="e2e.d.ts" />
2+
13
describe('hello, protractor', function () {
24
describe('index', function () {
35
browser.get('/');

e2e/tsconfig.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"compilerOptions": {
3+
"declaration": true,
4+
"emitDecoratorMetadata": true,
5+
"experimentalDecorators": true,
6+
"mapRoot": "",
7+
"module": "commonjs",
8+
"moduleResolution": "node",
9+
"noEmitOnError": true,
10+
"noImplicitAny": true,
11+
"outDir": "../dist/e2e/",
12+
"rootDir": ".",
13+
"sourceMap": true,
14+
"sourceRoot": "/",
15+
"target": "es5"
16+
},
17+
"files": [
18+
"e2e.d.ts"
19+
]
20+
}

e2e/typings/angular-protractor/index.d.ts

Lines changed: 1850 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)