This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(hybrid): add flag specifying that an app is an ng1/ng2 hybrid (#3403
- Loading branch information
Showing
3 changed files
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
describe('async angular2 application', function() { | ||
beforeEach(function() { | ||
this.ng12Hybrid = true; | ||
This comment has been minimized.
Sorry, something went wrong.
juliemr
Member
|
||
browser.get('/hybrid'); | ||
}); | ||
|
||
afterEach(function() { | ||
this.ng12Hybrid = false; | ||
}); | ||
|
||
it('should propertly load the page', function() { | ||
expect($('h1').getText()).toEqual('My App'); | ||
}); | ||
|
We should also allow changing this via the config file.