From 7f9d4449d4d6ec02b1b602c47b0f0bdb30d3718a Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Thu, 15 Feb 2024 13:57:50 +0100 Subject: [PATCH] fix: cached fixtures --- default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index b3eaccd4..aaf7646f 100644 --- a/default.nix +++ b/default.nix @@ -91,7 +91,7 @@ in machine.wait_for_open_port(3000) machine.succeed("cp -r ${blockfrost-tests} /tmp/tests") machine.succeed( - "cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ yarn test:mainnet --run' >&2" + "cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_CACHED=true yarn test:mainnet --run' >&2" ) ''; }; @@ -127,7 +127,7 @@ in machine.wait_for_open_port(3000) machine.succeed("cp -r ${blockfrost-tests} /tmp/tests") machine.succeed( - "cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ yarn test:preview --run' >&2" + "cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_CACHED=true yarn test:preview --run' >&2" ) ''; }; @@ -163,7 +163,7 @@ in machine.wait_for_open_port(3000) machine.succeed("cp -r ${blockfrost-tests} /tmp/tests") machine.succeed( - "cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ yarn test:preprod --run' >&2" + "cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_CACHED=true yarn test:preprod --run' >&2" ) ''; };