Skip to content

Commit

Permalink
fix(mock-dock): add hasAttribute to MockCSSStyleDeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhaenisch committed Jan 5, 2021
1 parent 9c18fa0 commit a1c320b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mock-doc/css-style-declaration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export class MockCSSStyleDeclaration {
}
});
}

hasAttribute() {
return false;
}
}

export function createCSSStyleDeclaration() {
Expand Down

0 comments on commit a1c320b

Please sign in to comment.