Skip to content

Commit 8a98465

Browse files
committed
Fix GHA-CI-specific test failure
1 parent b72714f commit 8a98465

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

test/js/visualization/pathway.test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ const colorPathwayGenesByExpression = PathwayExpression.colorPathwayGenesByExpre
1919

2020
describe('Pathway expression overlay library', () => {
2121
beforeAll(() => {
22-
Element.prototype.insertAdjacentHTML = function(position, html) {
23-
const temp = document.createElement('div')
24-
temp.innerHTML = html
25-
while (temp.firstChild) {
26-
this.appendChild(temp.firstChild)
27-
}
28-
}
29-
3022
// Mock pathway diagram for
3123
// "Mammary gland development: pregnancy and lactation - stage 3 of 4" (WP2817)
3224
document.body.innerHTML =

0 commit comments

Comments
 (0)