test: refactor tests to work with neotest

This commit is contained in:
Steven Arcangeli 2022-06-15 09:05:04 -07:00
parent e337dff7c0
commit d953c28f81
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -e
nvim --headless --noplugin -u tests/init.lua \
-c "PlenaryBustedDirectory ${1-tests} { minimal_init = './tests/init.lua' }"
nvim --headless --noplugin -u tests/minimal_init.lua \
-c "PlenaryBustedDirectory ${1-tests} { minimal_init = './tests/minimal_init.lua' }"
echo "Success"