Skip to content

Commit

Permalink
Remove redundant initialises with app test
Browse files Browse the repository at this point in the history
  • Loading branch information
lathonez committed Jan 2, 2017
1 parent 44de30a commit d12d8ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "ionic serve",
"test": "ng test --code-coverage"
},
"version": "2.5.1",
"version": "2.5.2",
"dependencies": {
"@angular/common": "2.2.1",
"@angular/compiler": "2.2.1",
Expand Down
4 changes: 0 additions & 4 deletions src/app/app.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ describe('ClickerApp', () => {
expect(instance['rootPage']).not.toBe(null);
});

it('initialises with an app', () => {
expect(instance['app']).not.toBe(null);
});

it('opens a page', () => {
spyOn(instance['menu'], 'close');
spyOn(instance['nav'], 'setRoot');
Expand Down

0 comments on commit d12d8ca

Please sign in to comment.