Skip to content

Commit

Permalink
Merge 9eb641f into 02af877
Browse files Browse the repository at this point in the history
  • Loading branch information
mbland committed Jan 5, 2024
2 parents 02af877 + 9eb641f commit 8101476
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

import { createCoverageMap } from 'istanbul-lib-coverage'
import libCoverage from 'istanbul-lib-coverage'
import { OpenedPage } from './types.js'

/**
Expand All @@ -31,7 +31,7 @@ export default class BrowserPageOpener {
// coverage. There's no harm in this, and it avoids a coverage gap for a
// condition that, by definition, would never execute when collecting
// coverage. We could use a directive to ignore that gap, but why bother.
window[covKey] = createCoverageMap(window[covKey])
window[covKey] = libCoverage.createCoverageMap(window[covKey])
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "test-page-opener",
"version": "1.0.2",
"version": "1.0.3",
"description": "Enables an application's tests to open its own page URLs both in the browser and in Node.js using jsdom",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 8101476

Please sign in to comment.