Skip to content

Commit

Permalink
Manually integrate unreleased Jasmine fix: jasmine/jasmine@2b318a6
Browse files Browse the repository at this point in the history
  • Loading branch information
dfederm committed May 12, 2020
1 parent f589953 commit 6cc68c8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "karma-jasmine-html-reporter",
"version": "1.5.3",
"version": "1.5.4",
"description": "A Karma plugin. Dynamically displays tests results at debug.html page",
"main": "./src/index.js",
"keywords": [
Expand Down Expand Up @@ -52,4 +52,4 @@
"jasmine-core": ">=3.5"
},
"readmeFilename": "README.md"
}
}
4 changes: 0 additions & 4 deletions src/lib/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@
filterSpecs: filterSpecs
});

/**
* The `jsApiReporter` also receives spec results, and is used by any environment that needs to extract the results from JavaScript.
*/

env.addReporter(htmlReporter);

/**
Expand Down
2 changes: 2 additions & 0 deletions src/lib/html.jasmine.reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,11 @@ jasmineRequire.HtmlReporter = function (j$) {

find('.jasmine-failures-menu').onclick = function () {
setMenuModeTo('jasmine-failure-list');
return false;
};
find('.jasmine-spec-list-menu').onclick = function () {
setMenuModeTo('jasmine-spec-list');
return false;
};

setMenuModeTo('jasmine-failure-list');
Expand Down

0 comments on commit 6cc68c8

Please sign in to comment.