File tree 4 files changed +81
-0
lines changed
4 files changed +81
-0
lines changed Original file line number Diff line number Diff line change
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+
3
+ # compiled output
4
+ /dist
5
+ /tmp
6
+ /out-tsc
7
+
8
+ # dependencies
9
+ /node_modules
10
+
11
+ # IDEs and editors
12
+ /.idea
13
+ .project
14
+ .classpath
15
+ .c9 /
16
+ * .launch
17
+ .settings /
18
+ * .sublime-workspace
19
+
20
+ # IDE - VSCode
21
+ .vscode /*
22
+ ! .vscode /settings.json
23
+ ! .vscode /tasks.json
24
+ ! .vscode /launch.json
25
+ ! .vscode /extensions.json
26
+
27
+ # misc
28
+ /.sass-cache
29
+ /connect.lock
30
+ /coverage
31
+ /libpeerconnection.log
32
+ npm-debug.log
33
+ testem.log
34
+ /typings
35
+
36
+ # e2e
37
+ /e2e /* .js
38
+ /e2e /* .map
39
+
40
+ # System Files
41
+ .DS_Store
42
+ Thumbs.db
Original file line number Diff line number Diff line change
1
+ import { AppPage } from './app.po' ;
2
+
3
+ describe ( 'ng5-reactive-form App' , ( ) => {
4
+ let page : AppPage ;
5
+
6
+ beforeEach ( ( ) => {
7
+ page = new AppPage ( ) ;
8
+ } ) ;
9
+
10
+ it ( 'should display welcome message' , ( ) => {
11
+ page . navigateTo ( ) ;
12
+ expect ( page . getParagraphText ( ) ) . toEqual ( 'Welcome to app!' ) ;
13
+ } ) ;
14
+ } ) ;
Original file line number Diff line number Diff line change
1
+ import { browser , by , element } from 'protractor' ;
2
+
3
+ export class AppPage {
4
+ navigateTo ( ) {
5
+ return browser . get ( '/' ) ;
6
+ }
7
+
8
+ getParagraphText ( ) {
9
+ return element ( by . css ( 'app-root h1' ) ) . getText ( ) ;
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ../tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "outDir" : " ../out-tsc/e2e" ,
5
+ "baseUrl" : " ./" ,
6
+ "module" : " commonjs" ,
7
+ "target" : " es5" ,
8
+ "types" : [
9
+ " jasmine" ,
10
+ " jasminewd2" ,
11
+ " node"
12
+ ]
13
+ }
14
+ }
You can’t perform that action at this time.
0 commit comments