tests: tests.dontRun -> test.runNvim

Convert all test-cases to use the new `test.runNvim` module option.
This commit is contained in:
Matt Sturgeon 2024-08-20 00:44:25 +01:00
parent f47374fd26
commit 7b2a6cd9e6
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
13 changed files with 31 additions and 45 deletions

View file

@ -2,7 +2,7 @@
empty = {
# Harpoon expects to access `~/.local/share/nvim/harpoon.json` which is not available in the
# test environment
tests.dontRun = true;
test.runNvim = false;
plugins.harpoon.enable = true;
};
@ -10,7 +10,7 @@
telescopeEnabled = {
# Harpoon expects to access `~/.local/share/nvim/harpoon.json` which is not available in the
# test environment
tests.dontRun = true;
test.runNvim = false;
plugins.telescope = {
enable = true;
@ -75,7 +75,7 @@
telescopeDisabled = {
# Harpoon expects to access `~/.local/share/nvim/harpoon.json` which is not available in the
# test environment
tests.dontRun = true;
test.runNvim = false;
plugins.harpoon = {
enable = true;

View file

@ -1,13 +1,13 @@
{
empty = {
# don't run tests as they try to access the network.
tests.dontRun = true;
test.runNvim = false;
plugins.neocord.enable = true;
};
defaults = {
# don't run tests as they try to access the network.
tests.dontRun = true;
test.runNvim = false;
plugins.neocord = {
enable = true;
@ -39,7 +39,7 @@
example = {
# don't run tests as they try to access the network.
tests.dontRun = true;
test.runNvim = false;
plugins.neocord = {
enable = true;

View file

@ -3,7 +3,7 @@
# neorg should be re-packaged in nixpkgs from the luarocks `neorg` package.
# In the meantime, disable the test.
# TODO: re-enable when this will have been fixed upstream.
tests.dontRun = true;
test.runNvim = false;
plugins.neorg.enable = true;
};
@ -12,7 +12,7 @@
# neorg should be re-packaged in nixpkgs from the luarocks `neorg` package.
# In the meantime, disable the test.
# TODO: re-enable when this will have been fixed upstream.
tests.dontRun = true;
test.runNvim = false;
plugins = {
# Treesitter is required when using the "core.defaults" module.

View file

@ -3,7 +3,7 @@
# As of 2024-05-07, the lua dependencies of luaPackage.rest-nvim are not correctly propagated to
# the vim plugin.
# TODO: re-enable this test when this issue will have been fixed
tests.dontRun = true;
test.runNvim = false;
plugins.rest.enable = true;
};
@ -12,7 +12,7 @@
# As of 2024-05-07, the lua dependencies of luaPackage.rest-nvim are not correctly propagated to
# the vim plugin.
# TODO: re-enable this test when this issue will have been fixed
tests.dontRun = true;
test.runNvim = false;
plugins.rest = {
enable = true;