summaryrefslogtreecommitdiffstats
path: root/test/specHelper.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/specHelper.js')
-rw-r--r--test/specHelper.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/specHelper.js b/test/specHelper.js
index 7396e6d..f00202a 100644
--- a/test/specHelper.js
+++ b/test/specHelper.js
@@ -5,6 +5,10 @@ function $ (str, context) {
return (context || fixture.el).querySelector(str);
}
+function $$(str, context) {
+ return (context || fixture.el).querySelectorAll(str);
+}
+
// bundled fixture load/cleanup
$.fixture = function (fixtureName) {
beforeEach(function () {