We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd6555 commit 141174dCopy full SHA for 141174d
v-next/hardhat/test/internal/cli/telemetry/analytics/analytics.ts
@@ -16,6 +16,12 @@ import {
16
ROOT_PATH_TO_FIXTURE,
17
} from "../helpers.js";
18
19
+//
20
+// TEST EXPLANATION: When setting the environment variable HARDHAT_TEST_SUBPROCESS_RESULT_PATH,
21
+// the subprocess writes the payload to the specified file instead of sending it to a remote server.
22
+// This allows us to verify that the payload is formatted correctly.
23
24
+
25
const PATH_TO_FIXTURE = path.join(ROOT_PATH_TO_FIXTURE, "analytics");
26
const RESULT_FILE_PATH = path.join(PATH_TO_FIXTURE, "result.json");
27
0 commit comments