@replayio/test-utils
Advanced tools
Comparing version 1.3.18 to 1.3.19
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.initMetadataFile = exports.getMetadataFilePath = void 0; | ||
const replay_1 = require("@replayio/replay"); | ||
const utils_1 = require("@replayio/replay/utils"); | ||
const fs_1 = require("fs"); | ||
@@ -14,3 +14,3 @@ const path_1 = __importDefault(require("path")); | ||
return (process.env.RECORD_REPLAY_METADATA_FILE || | ||
path_1.default.join((0, replay_1.getDirectory)(), `${base.toUpperCase()}_METADATA_${workerIndex}`)); | ||
path_1.default.join((0, utils_1.getDirectory)(), `${base.toUpperCase()}_METADATA_${workerIndex}`)); | ||
} | ||
@@ -17,0 +17,0 @@ exports.getMetadataFilePath = getMetadataFilePath; |
@@ -115,4 +115,4 @@ import { RecordingEntry } from "@replayio/replay"; | ||
error: { | ||
name: string; | ||
message: string; | ||
name: string; | ||
line?: number | undefined; | ||
@@ -127,4 +127,4 @@ column?: number | undefined; | ||
error: { | ||
name: string; | ||
message: string; | ||
name: string; | ||
line?: number | undefined; | ||
@@ -146,4 +146,4 @@ column?: number | undefined; | ||
error: { | ||
name: string; | ||
message: string; | ||
name: string; | ||
line?: number | undefined; | ||
@@ -165,4 +165,4 @@ column?: number | undefined; | ||
error: { | ||
name: string; | ||
message: string; | ||
name: string; | ||
line?: number | undefined; | ||
@@ -184,4 +184,4 @@ column?: number | undefined; | ||
error: { | ||
name: string; | ||
message: string; | ||
name: string; | ||
line?: number | undefined; | ||
@@ -203,4 +203,4 @@ column?: number | undefined; | ||
error: { | ||
name: string; | ||
message: string; | ||
name: string; | ||
line?: number | undefined; | ||
@@ -237,4 +237,4 @@ column?: number | undefined; | ||
errors: { | ||
name: string; | ||
message: string; | ||
name: string; | ||
code: number; | ||
@@ -241,0 +241,0 @@ detail: string | null; |
{ | ||
"name": "@replayio/test-utils", | ||
"version": "1.3.18", | ||
"version": "1.3.19", | ||
"description": "Utilities for recording tests with replay.io", | ||
"main": "./dist/index.js", | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./testId": "./dist/testId.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"scripts": { | ||
@@ -23,3 +28,3 @@ "prepare": "yarn run build", | ||
"dependencies": { | ||
"@replayio/replay": "^0.21.6", | ||
"@replayio/replay": "^0.21.7", | ||
"debug": "^4.3.4", | ||
@@ -26,0 +31,0 @@ "node-fetch": "^2.6.7", |
@@ -1,2 +0,2 @@ | ||
import { getDirectory } from "@replayio/replay"; | ||
import { getDirectory } from "@replayio/replay/utils"; | ||
import { existsSync, writeFileSync } from "fs"; | ||
@@ -3,0 +3,0 @@ import path from "path"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
166489
47
2323
Updated@replayio/replay@^0.21.7