Skip to content

Commit 722f9d2

Browse files
author
Seth Davenport
committed
Toolchain updates
Angular 4 Angular-redux 6.1
1 parent cfb5c17 commit 722f9d2

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

app/app.component.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import 'rxjs/add/observable/of';
99
import { AppComponent } from './app.component';
1010
import { CounterActions } from './actions';
1111

12-
const mockNgRedux = {
12+
// I follow a 'mock all dependencies' strategy when unit testing.
13+
const mockNgRedux: any = {
1314
configureStore: () => {},
1415
dispatch: () => {},
1516
select: () => Observable.of(null),

e2e/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { browser, element, by } from 'protractor';
22

33
describe('QuickStart E2E Tests', function () {
44

5-
let expectedMsg = 'Hello @angular-redux/store!';
5+
let expectedMsg: any = 'Hello @angular-redux/store!';
66

77
beforeEach(function () {
88
browser.get('');

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,41 +17,41 @@
1717
"author": "",
1818
"license": "MIT",
1919
"dependencies": {
20-
"@angular-redux/store": "^6.0.0",
21-
"@angular/common": "~2.4.0",
22-
"@angular/compiler": "~2.4.0",
23-
"@angular/core": "~2.4.0",
24-
"@angular/forms": "~2.4.0",
25-
"@angular/http": "~2.4.0",
26-
"@angular/platform-browser": "~2.4.0",
27-
"@angular/platform-browser-dynamic": "~2.4.0",
28-
"@angular/router": "~3.4.0",
20+
"@angular/common": "~4.0.0",
21+
"@angular/compiler": "~4.0.0",
22+
"@angular/core": "~4.0.0",
23+
"@angular/forms": "~4.0.0",
24+
"@angular/http": "~4.0.0",
25+
"@angular/platform-browser": "~4.0.0",
26+
"@angular/platform-browser-dynamic": "~4.0.0",
27+
"@angular/router": "~4.0.0",
2928
"angular-in-memory-web-api": "~0.2.2",
3029
"core-js": "^2.4.1",
30+
"@angular-redux/store": "^6.1.0",
3131
"redux": "^3.6.0",
3232
"reflect-metadata": "^0.1.8",
3333
"rxjs": "5.0.1",
3434
"systemjs": "0.19.40",
35-
"zone.js": "^0.7.4"
35+
"zone.js": "^0.8.4"
3636
},
3737
"devDependencies": {
3838
"@types/jasmine": "^2.5.36",
3939
"@types/node": "^6.0.46",
40-
"canonical-path": "0.0.2",
4140
"concurrently": "^3.1.0",
41+
"lite-server": "^2.2.2",
42+
"typescript": "^2.2.0",
43+
"canonical-path": "0.0.2",
4244
"http-server": "^0.9.0",
4345
"jasmine-core": "~2.4.1",
4446
"karma": "^1.3.0",
4547
"karma-chrome-launcher": "^2.0.0",
4648
"karma-cli": "^1.0.1",
4749
"karma-jasmine": "^1.0.2",
4850
"karma-jasmine-html-reporter": "^0.2.2",
49-
"lite-server": "^2.2.2",
5051
"lodash": "^4.16.4",
5152
"protractor": "~4.0.14",
5253
"rimraf": "^2.5.4",
53-
"tslint": "^3.15.1",
54-
"typescript": "~2.0.10"
54+
"tslint": "^3.15.1"
5555
},
5656
"repository": {}
5757
}

0 commit comments

Comments
 (0)