Skip to content

Commit

Permalink
fix: cached fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvolek committed Feb 15, 2024
1 parent 22ebb9c commit 7f9d444
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
'';
};
Expand Down Expand Up @@ -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"
)
'';
};
Expand Down Expand Up @@ -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"
)
'';
};
Expand Down

0 comments on commit 7f9d444

Please sign in to comment.