@empiricalrun/test-gen 0.50.2 → 0.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.50.3
4
+
5
+ ### Patch Changes
6
+
7
+ - aab7199: fix: uploading snapshots during test-gen
8
+ - Updated dependencies [650733f]
9
+ - @empiricalrun/llm@0.10.3
10
+
3
11
  ## 0.50.2
4
12
 
5
13
  ### Patch Changes
@@ -95,7 +95,7 @@ class TestGenUpdatesReporter {
95
95
  try {
96
96
  // upload current screenshot to r2 and report it to reporter
97
97
  if (!fs_extra_1.default.existsSync(path_1.default.join(this.repoDir, "gen-assets"))) {
98
- await fs_extra_1.default.mkdir(this.repoDir, "gen-assets");
98
+ await fs_extra_1.default.mkdir(path_1.default.join(this.repoDir, "gen-assets"));
99
99
  }
100
100
  await fs_extra_1.default.writeFile(path_1.default.join(this.repoDir, "gen-assets", `current-view-${Date.now()}.png`), buffer);
101
101
  const uploadDir = (0, uploader_1.getUploadPathForRun)(reporterConfig?.projectRepoName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.50.2",
3
+ "version": "0.50.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -74,7 +74,7 @@
74
74
  "tsx": "^4.16.2",
75
75
  "typescript": "^5.3.3",
76
76
  "zod": "^3.23.8",
77
- "@empiricalrun/llm": "^0.10.2",
77
+ "@empiricalrun/llm": "^0.10.3",
78
78
  "@empiricalrun/r2-uploader": "^0.3.8",
79
79
  "@empiricalrun/reporter": "^0.23.2",
80
80
  "@empiricalrun/test-run": "^0.7.4"