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 = {
111111 . replace ( / \\ / g, '\\\\' )
112112 . replace ( / ' / g, '\\\'' )
113113 . 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 + '\'));' ;
115115 state . js . push ( js ) ;
116116
117117 return state ;
Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ describe('Sample', function() {
1212
1313 it ( 'should insert the ng-cloak styles' , function ( ) {
1414 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+ ` ) ;
1819 expect ( element ( by . className ( 'foo' ) ) . isDisplayed ( ) ) . toBe ( false ) ;
1920 } ) ;
2021} ) ;
You can’t perform that action at this time.
0 commit comments