Skip to content

Commit 836d406

Browse files
committed
Jasmine reporter does not work if test don't wait for body to load.
1 parent b4cd0f3 commit 836d406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ exports.Server = function Server(bsClient, workers) {
6060
}
6161

6262
if (mimeType === 'text/html') {
63-
var matcher = /(.*)<\/body>/;
63+
var matcher = /(.*)<\/head>/;
6464
var patch = "$1";
6565
scripts.forEach(function (script) {
6666
patch += "<script type='text/javascript' src='/_patch/" + script + "'></script>\n";

0 commit comments

Comments
 (0)