about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-23 14:07:40 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-23 14:07:40 +0100
commit30bb9843d03291d116b5b1a5bbc7e11c0869e79c (patch)
tree66ae133c97d9ace27158c38014245b81bbaa02f3
parentfix(modules/nvim/plgs/neorg): Use the correct ft name in ftplugin (diff)
downloadnixos-config-30bb9843d03291d116b5b1a5bbc7e11c0869e79c.tar.gz
nixos-config-30bb9843d03291d116b5b1a5bbc7e11c0869e79c.zip
tests({modules,tests}): Delay the coupling, until more modules are tested
Diffstat (limited to '')
-rw-r--r--modules/default.nix13
-rw-r--r--tests/default.nix7
2 files changed, 7 insertions, 13 deletions
diff --git a/modules/default.nix b/modules/default.nix
index af5ef20f..17780e63 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -10,12 +10,13 @@
       fileName = "module.nix";
       finalizeFunction = name: value: value;
 
-      coImportsNameFunction = {
-        shard,
-        name,
-      }:
-        ../tests/by-name + "/${shard}" + "/${name}" + "/test.nix";
-      coImportsWarnMessageObject = "test";
+      # TODO: Re-activate, when/if most modules have tests.  <2024-11-23>
+      # coImportsNameFunction = {
+      #   shard,
+      #   name,
+      # }:
+      #   ../tests/by-name + "/${shard}" + "/${name}" + "/test.nix";
+      # coImportsWarnMessageObject = "test";
     });
 in {
   imports = files;
diff --git a/tests/default.nix b/tests/default.nix
index a5ca5deb..9803c99c 100644
--- a/tests/default.nix
+++ b/tests/default.nix
@@ -28,13 +28,6 @@
           mkTest
           ;
       };
-
-    coImportsNameFunction = {
-      shard,
-      name,
-    }:
-      ../modules/by-name + "/${shard}" + "/${name}" + "/module.nix";
-    coImportsWarnMessageObject = "modules";
   };
 in
   tests