Update names
This commit is contained in:
12
index.js
12
index.js
@@ -192,7 +192,7 @@ var setCcVersion = (v) => {
|
||||
};
|
||||
|
||||
var cypressPkg = require2("cypress/package.json");
|
||||
var pkg = require2("@krivega/cc/package.json");
|
||||
var pkg = require2("@bart/cc/package.json");
|
||||
initCapture();
|
||||
setCypressVersion(cypressPkg.version);
|
||||
setCcVersion(pkg.version);
|
||||
@@ -408,7 +408,7 @@ var bootCypress = async (params) => {
|
||||
try {
|
||||
const f = import_fs.default.readFileSync(tempFilePath, "utf-8");
|
||||
if (!f) {
|
||||
throw new Error("Is @krivega/cc/plugin installed?");
|
||||
throw new Error("Is @bart/cc/plugin installed?");
|
||||
}
|
||||
debug5("cypress config '%s': '%s'", tempFilePath, f);
|
||||
return JSON.parse(f);
|
||||
@@ -417,7 +417,7 @@ var bootCypress = async (params) => {
|
||||
info(bold("Cypress stdout:\n"), stdout2);
|
||||
info(bold("Cypress stderr:\n"), stderr);
|
||||
throw new ValidationError(`Unable to resolve cypress configuration
|
||||
- make sure that '@krivega/cc/plugin' is installed
|
||||
- make sure that '@bart/cc/plugin' is installed
|
||||
- report the issue together with cypress stdout and stderr
|
||||
`);
|
||||
}
|
||||
@@ -741,7 +741,7 @@ async function getClient() {
|
||||
"x-cypress-request-attempt": config["axios-retry"]?.retryCount ?? 0,
|
||||
"x-cypress-version": _cypressVersion ?? "0.0.0",
|
||||
"x-ccy-version": ccyVerson,
|
||||
"User-Agent": `@krivega/cc/${ccyVerson}`
|
||||
"User-Agent": `@bart/cc/${ccyVerson}`
|
||||
};
|
||||
if (_runId) {
|
||||
headers["x-cypress-run-id"] = _runId;
|
||||
@@ -1451,7 +1451,7 @@ var SpecAfterResult = class _SpecAfterResult {
|
||||
static getDummyTestAttemptError(attemptState) {
|
||||
return (0, import_ts_pattern4.match)(attemptState).with("failed", () => ({
|
||||
name: "Error",
|
||||
message: "[@krivega/cc] Could not get cypress attempt error details",
|
||||
message: "[@bart/cc] Could not get cypress attempt error details",
|
||||
stack: "",
|
||||
codeFrame: null
|
||||
})).with("skipped", () => ({
|
||||
@@ -3196,7 +3196,7 @@ async function run(params = {}) {
|
||||
config,
|
||||
browser: validatedParams.browser
|
||||
});
|
||||
info(`@krivega/cc version: ${dim(_ccVersion)}`);
|
||||
info(`@bart/cc version: ${dim(_ccVersion)}`);
|
||||
info(`Cypress version: ${dim(_cypressVersion)}`);
|
||||
info("Discovered %d spec files", specs.length);
|
||||
info(
|
||||
|
||||
Reference in New Issue
Block a user