mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-10 17:15:26 +08:00
11 lines
380 B
JavaScript
11 lines
380 B
JavaScript
describe("{$ doc.description $}", function() {
|
|
var rootEl;
|
|
beforeEach(function() {
|
|
rootEl = browser.rootEl;{% if doc['ng-app-included'] %}
|
|
browser.rootEl = '[ng-app]';{% endif %}
|
|
browser.get("{$ doc.pathPrefix $}/{$ doc.examplePath $}");
|
|
});
|
|
{% if doc['ng-app-included'] %}afterEach(function() { browser.rootEl = rootEl; });{% endif %}
|
|
{$ doc.innerTest $}
|
|
});
|