File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11var expect = require ( 'chai' ) . expect ;
2+ var eol = require ( 'os' ) . EOL ;
23
34module . exports = function ( server ) {
45 describe ( 'Basic Tests' , function ( ) {
@@ -17,7 +18,7 @@ module.exports = function(server) {
1718 var ids = JSON . parse ( response . headers [ 'x-miniprofiler-ids' ] ) ;
1819 expect ( ids ) . to . have . lengthOf ( 1 ) ;
1920
20- expect ( body ) . to . be . equal ( `<script async type="text/javascript" id="mini-profiler" src="/mini-profiler-resources/includes.js?v=" data-version="" data-path="/mini-profiler-resources/" data-current-id="${ ids [ 0 ] } " data-ids="${ ids [ 0 ] } " data-position="left" data-trivial="true" data-children="false" data-max-traces="15" data-controls="true" data-authorized="true" data-toggle-shortcut="" data-start-hidden="false" data-trivial-milliseconds="2.5"></script>\r\n` ) ;
21+ expect ( body ) . to . be . equal ( `<script async type="text/javascript" id="mini-profiler" src="/mini-profiler-resources/includes.js?v=" data-version="" data-path="/mini-profiler-resources/" data-current-id="${ ids [ 0 ] } " data-ids="${ ids [ 0 ] } " data-position="left" data-trivial="true" data-children="false" data-max-traces="15" data-controls="true" data-authorized="true" data-toggle-shortcut="" data-start-hidden="false" data-trivial-milliseconds="2.5"></script>` + eol ) ;
2122 done ( ) ;
2223 } ) ;
2324 } ) ;
You can’t perform that action at this time.
0 commit comments