From 3d56f37098c21786b327d98a93d0a7d1f2091b74 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 30 Nov 2024 23:10:38 +0100 Subject: feat(tests/nvim-neorg): Init --- tests/by-name/nv/nvim-neorg/test.nix | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tests/by-name/nv/nvim-neorg/test.nix (limited to 'tests/by-name/nv/nvim-neorg/test.nix') diff --git a/tests/by-name/nv/nvim-neorg/test.nix b/tests/by-name/nv/nvim-neorg/test.nix new file mode 100644 index 00000000..ee0e1b52 --- /dev/null +++ b/tests/by-name/nv/nvim-neorg/test.nix @@ -0,0 +1,46 @@ +{ + mkTest, + extraModules, + pkgs, + ... +}: +mkTest { + name = "nvim-neorg"; + + configuration = { + imports = [ + ../../../../modules/by-name/nv/nvim/module.nix + ../../../../modules/by-name/ni/nixpkgs/module.nix + ]; + config = { + soispha = { + nixpkgs = { + enable = true; + systemName = "x86_64-linux"; + }; + programs.nvim = { + enable = true; + shell = pkgs.zsh; + }; + }; + home-manager.users.soispha = { + imports = [ + extraModules.nixvim.homeManagerModule + ]; + }; + }; + }; + + alternateScreen = false; + + testData = { + "/home/soispha/repos/notes/general/index.norg" = ./data/index.norg; + "/home/soispha/repos/notes/general/reference.norg" = ./data/reference.norg; + }; + + description = ./test.desc; + + # The golden file is just full of nvim's terminal control sequences. There is no point + # in trying to check it. + hash = null; +} -- cgit 1.4.1