Add tests

This commit is contained in:
2025-02-03 11:49:27 -08:00
parent 50995a7c2e
commit 6030e45c23
3 changed files with 183 additions and 0 deletions

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
TESTS_INIT=tests/init.lua
TESTS_DIR=tests/
.PHONY: test
test:
@nvim \
--headless \
--noplugin \
-u ${TESTS_INIT} \
-c "PlenaryBustedDirectory ${TESTS_DIR} { minimal_init = '${TESTS_INIT}' }"