@flakiness/report
Advanced tools
Comparing version 0.0.2 to 0.0.3
#!/usr/bin/env node | ||
import fs from "fs/promises"; | ||
import parseArgs from "minimist"; | ||
import path from "path"; | ||
import fs from "fs/promises"; | ||
import { PlaywrightJSONReport } from "../playwrightJSONReport.js"; | ||
import { ReportUploader } from "../reportUploader.js"; | ||
import parseArgs from "minimist"; | ||
import { sha256Buffer } from "../utils.js"; | ||
@@ -63,3 +63,2 @@ const USAGE = `npx flakiness upload-playwright-json --access-token <token> [--endpoint <url>] <relative-path-to-json>`; | ||
}); | ||
console.log(reportId); | ||
for (const unaccessibleAttachment of unaccessibleAttachmentPaths) | ||
@@ -66,0 +65,0 @@ console.warn(`WARN: cannot access attachment ${unaccessibleAttachment}`); |
@@ -0,4 +1,6 @@ | ||
import debug from "debug"; | ||
import { posix as posixPath } from "path"; | ||
import { FlakinessReport } from "./common/flakinessReport.js"; | ||
import { computeGitRoot, existsAsync, extractEnvConfiguration, getOSInfo, gitCommitInfo, gitFilePath, inferRunUrl, normalizePath, parseDurationMS, parseStringDate, sha256Buffer, sha256File, stripAnsi } from "./utils.js"; | ||
const dlog = debug("flakiness:json-report"); | ||
var PlaywrightJSONReport; | ||
@@ -18,2 +20,6 @@ ((PlaywrightJSONReport2) => { | ||
}; | ||
dlog(`metadata directory: ${somePathInsideProject}`); | ||
dlog(`metadata: ${JSON.stringify(metadata)}`); | ||
dlog(`commit info: ${JSON.stringify(commitInfo)}`); | ||
dlog(`os info: ${JSON.stringify(osInfo)}`); | ||
return metadata; | ||
@@ -20,0 +26,0 @@ } |
@@ -52,3 +52,3 @@ import { spawnSync } from "child_process"; | ||
} | ||
await job(); | ||
return await job(); | ||
} | ||
@@ -55,0 +55,0 @@ var httpUtils; |
{ | ||
"name": "@flakiness/report", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"private": false, | ||
@@ -44,5 +44,6 @@ "bin": { | ||
"dependencies": { | ||
"@flakiness/shared": "0.0.2", | ||
"@flakiness/shared": "0.0.3", | ||
"debug": "^4.3.7", | ||
"minimist": "^1.2.8" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71597
984
3
+ Addeddebug@^4.3.7
+ Added@flakiness/shared@0.0.3(transitive)
+ Addeddebug@4.4.0(transitive)
- Removed@flakiness/shared@0.0.2(transitive)
Updated@flakiness/shared@0.0.3