From c1b0c85e17a57faa018d49cedbf385a9a490d459 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Sun, 13 Oct 2019 10:50:41 -0600 Subject: [PATCH] test: fix coverage --- src/role-helpers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/role-helpers.js b/src/role-helpers.js index 8ed3568b..961c3186 100644 --- a/src/role-helpers.js +++ b/src/role-helpers.js @@ -42,6 +42,8 @@ function isInaccessible(element) { return true } + // this branch is temporary code until jsdom fixes a bug + // istanbul ignore else if (supportsStyleInheritance === false) { // we go bottom-up for an inheritable property so we can only set it // if it wasn't set already i.e. the parent can't overwrite the child