diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 021b6ea..a8f0dae 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -25,6 +25,9 @@ jobs: - name: Install eask run: npm install -g @emacs-eask/cli + - name: Install deps + run: eask install-deps --dev + - name: Run tests run: eask test buttercup diff --git a/tests/test-counsel-projectile.el b/tests/test-counsel-projectile.el index d616661..0d23712 100644 --- a/tests/test-counsel-projectile.el +++ b/tests/test-counsel-projectile.el @@ -1,5 +1,13 @@ -;;; -*- lexical-binding: t; -*- +;;; test-counsel-projectile.el --- Buttercup tests for counsel-projectile -*- lexical-binding: t; -*- +;;; Commentary: +;;; Code: -(describe "counsel-projectile" - (it "always passes" - (expect 1 :to-equal 1))) +(require 'buttercup) +(require 'counsel-projectile) + +;; Example test! +(describe "A suite" + (it "contains a spec with an expectation" + (expect counsel-projectile--buffers :to-be nil))) + +;;; test-counsel-projectile.el ends here