aboutsummaryrefslogtreecommitdiff
path: root/test/test-helper.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-helper.el')
-rw-r--r--test/test-helper.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test-helper.el b/test/test-helper.el
new file mode 100644
index 0000000..c0119bf
--- /dev/null
+++ b/test/test-helper.el
@@ -0,0 +1,15 @@
+;;; test-helper.el --- Helpers for emacs-hnreader-test.el
+(require 'f)
+(require 'ert-async)
+
+(defvar root-test-path
+ (f-dirname (f-this-file)))
+
+(defvar root-code-path
+ (f-parent root-test-path))
+
+(add-to-list 'load-path root-code-path)
+
+(require 'hnreader)
+
+;;; test-helper.el ends here