parent
2bb8a4ca33
commit
dc11b51be1
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
;;; webpaste --- Test helper for loading webpaste in unit tests |
||||||
|
;;; Commentary: |
||||||
|
;;; Code: |
||||||
|
(require 'f) |
||||||
|
|
||||||
|
|
||||||
|
(defvar webpaste-test--test-path |
||||||
|
(f-parent (f-this-file))) |
||||||
|
|
||||||
|
(defvar webpaste-test--root-path |
||||||
|
(f-parent webpaste-test--test-path)) |
||||||
|
|
||||||
|
(require 'ert) |
||||||
|
(require 'webpaste (f-expand "webpaste" webpaste-test--root-path)) |
||||||
|
|
||||||
|
|
||||||
|
(provide 'test-helper) |
||||||
|
;;; test-helper.el ends here |
||||||
Loading…
Reference in new issue