From d4bee06d24292316f5c7fb7a956d3d9bfbcd832e Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Thu, 10 Aug 2023 14:09:50 +0200 Subject: [PATCH] enable tests for js flake build --- js/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/default.nix b/js/default.nix index d42401823..a7236c36a 100644 --- a/js/default.nix +++ b/js/default.nix @@ -13,15 +13,13 @@ mkYarnPackage rec { buildPhase = '' runHook preBuild - # Tests cannot find the functions of the testing framework - rm -r ./deps/mobilizon/tests yarn run build runHook postBuild ''; - # doCheck = true; - # checkPhase = "yarn test:unit"; + doCheck = true; + checkPhase = "yarn run test"; nativeBuildInputs = [ imagemagick ];