emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/webpaste dc11b51 078/298: Added code for helper for unit t


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste dc11b51 078/298: Added code for helper for unit tests
Date: Thu, 9 Dec 2021 18:59:48 -0500 (EST)

branch: elpa/webpaste
commit dc11b51be1a178ab39ffbd27807f12709e75b7f8
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>

    Added code for helper for unit tests
---
 test/test-helper.el | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/test/test-helper.el b/test/test-helper.el
index e69de29..ce02d39 100644
--- a/test/test-helper.el
+++ b/test/test-helper.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]