You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
401 B
18 lines
401 B
;;; webpaste --- Test helper for loading webpaste in unit tests |
|
;;; Commentary: |
|
;;; Code: |
|
(require 'f) |
|
(require 'ert) |
|
(require 'undercover) |
|
|
|
(defvar webpaste-test--test-path |
|
(f-parent (f-this-file))) |
|
|
|
(defvar webpaste-test--root-path |
|
(f-parent webpaste-test--test-path)) |
|
|
|
(undercover "webpaste.el") |
|
|
|
(require 'webpaste (f-expand "webpaste" webpaste-test--root-path)) |
|
|
|
;;; test-helper.el ends here
|
|
|