chore: add testing for user commands

This commit is contained in:
Ali Almohaya 2022-10-30 02:03:40 +03:00
parent cb378a6d8c
commit 264f7897bf
No known key found for this signature in database
GPG key ID: 4B80BC43FC6007E0
5 changed files with 114 additions and 0 deletions

View file

@ -5,3 +5,6 @@ lint:
fmt:
stylua --config-path stylua.toml --glob 'lua/**/*.lua' -- lua
test:
nvim --headless --noplugin -u tests/minimal.vim -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"