aboutsummaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/testabilityPatch.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/helpers/testabilityPatch.js b/test/helpers/testabilityPatch.js
index 41b5042a..f61be4ee 100644
--- a/test/helpers/testabilityPatch.js
+++ b/test/helpers/testabilityPatch.js
@@ -29,8 +29,7 @@ beforeEach(function() {
bindJQuery();
}
-
- angular.element(document.body).html('').removeData();
+ angular.element(document.body).empty().removeData();
});
afterEach(function() {