This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ module.exports = {
111
111
. replace ( / \\ / g, '\\\\' )
112
112
. replace ( / ' / g, '\\\'' )
113
113
. replace ( / \r ? \n / g, '\\n' ) ;
114
- js = '!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(window.angular.element(" <style>" ).text(\'' + css + '\'));' ;
114
+ js = '!window.angular.$$csp().noInlineStyle && window.angular.element(document.head).prepend(window.angular.element(\' <style>\' ).text(\'' + css + '\'));' ;
115
115
state . js . push ( js ) ;
116
116
117
117
return state ;
Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ describe('Sample', function() {
12
12
13
13
it ( 'should insert the ng-cloak styles' , function ( ) {
14
14
browser . executeScript ( `
15
- var span = document.createElement('span');
16
- span.className = 'ng-cloak foo';
17
- document.body.appendChild(span);` ) ;
15
+ var span = document.createElement('span');
16
+ span.className = 'ng-cloak foo';
17
+ document.body.appendChild(span);
18
+ ` ) ;
18
19
expect ( element ( by . className ( 'foo' ) ) . isDisplayed ( ) ) . toBe ( false ) ;
19
20
} ) ;
20
21
} ) ;
You can’t perform that action at this time.
0 commit comments