diff options
Diffstat (limited to 'test/emacs-hnreader-test.el')
-rw-r--r-- | test/emacs-hnreader-test.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/emacs-hnreader-test.el b/test/emacs-hnreader-test.el new file mode 100644 index 0000000..a2d40d6 --- /dev/null +++ b/test/emacs-hnreader-test.el @@ -0,0 +1,11 @@ +;;; emacs-hnreader-test.el --- Tests for emacs-hnreader +(ert-deftest-async test/promise-dom (done) + (promise-done + (promise-chain + (hnreader--promise-dom "https://www.google.com") + (then (lambda (result) + (should (listp result)) + ;; (message "%s" result) + (funcall done))) + (promise-catch done)))) +;;; emacs-hnreader-test.el ends here |