@gooddata/sdk-e2e-utils 11.57.0-alpha.1 → 11.57.0-alpha.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/esm/goodmock.js CHANGED
@@ -30,7 +30,7 @@ export async function loadMappings(host, mappingFilePath) {
30
30
  headers: { "Content-Type": "application/json" },
31
31
  body: JSON.stringify(json),
32
32
  });
33
- // eslint-disable-next-line no-console
33
+ // oxlint-disable-next-line eslint-js/no-console
34
34
  console.log(`Goodmock mappings loaded from ${mappingFilePath} (status: ${response.status})`);
35
35
  }
36
36
  /**
@@ -43,7 +43,7 @@ export async function resetScenarios(host) {
43
43
  const response = await fetch(`http://${host}/__admin/scenarios/reset`, {
44
44
  method: "POST",
45
45
  });
46
- // eslint-disable-next-line no-console
46
+ // oxlint-disable-next-line eslint-js/no-console
47
47
  console.log(`Goodmock scenarios reset (status: ${response.status})`);
48
48
  }
49
49
  /**
@@ -54,7 +54,7 @@ export async function resetMappings(host) {
54
54
  const response = await fetch(`http://${host}/__admin/reset`, {
55
55
  method: "POST",
56
56
  });
57
- // eslint-disable-next-line no-console
57
+ // oxlint-disable-next-line eslint-js/no-console
58
58
  console.log(`Goodmock mappings reset (status: ${response.status})`);
59
59
  }
60
60
  /**
@@ -77,7 +77,7 @@ export async function mockLogRequests(host) {
77
77
  },
78
78
  }),
79
79
  });
80
- // eslint-disable-next-line no-console
80
+ // oxlint-disable-next-line eslint-js/no-console
81
81
  console.log(`Goodmock log requests mocked (status: ${response.status})`);
82
82
  }
83
83
  /**
@@ -111,7 +111,7 @@ export async function startRecording(host, backendHost) {
111
111
  response: { proxyBaseUrl: backendHost },
112
112
  }),
113
113
  });
114
- // eslint-disable-next-line no-console
114
+ // oxlint-disable-next-line eslint-js/no-console
115
115
  console.log(`Goodmock recording started, proxying to ${backendHost} (status: ${response.status})`);
116
116
  }
117
117
  const snapshotParams = {
@@ -129,7 +129,7 @@ function sanitizeWorkspaceId(mappings, sourceWorkspaceId, targetWorkspaceId) {
129
129
  const dataString = JSON.stringify({ mappings });
130
130
  const sanitizedDataString = dataString.split(sourceWorkspaceId).join(targetWorkspaceId);
131
131
  const sanitizedData = JSON.parse(sanitizedDataString);
132
- // eslint-disable-next-line no-console
132
+ // oxlint-disable-next-line eslint-js/no-console
133
133
  console.log(`Sanitized workspaceId in mappings (${sourceWorkspaceId} -> ${targetWorkspaceId})`);
134
134
  return sanitizedData.mappings;
135
135
  }
@@ -279,6 +279,6 @@ export async function snapshotAndSaveRecording(host, mappingFilePath, options =
279
279
  }
280
280
  mkdirSync(dirname(mappingFilePath), { recursive: true });
281
281
  writeFileSync(mappingFilePath, output);
282
- // eslint-disable-next-line no-console
282
+ // oxlint-disable-next-line eslint-js/no-console
283
283
  console.log(`Recording saved to ${mappingFilePath} (${sanitizedMappings.length} mappings)`);
284
284
  }
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // (C) 2026 GoodData Corporation
2
- /* oxlint-disable no-barrel-files/no-barrel-files */
2
+ // oxlint-disable no-barrel-files/no-barrel-files
3
3
  export { authHeader, authedRouteFetch, injectAuthHeader } from "./auth.js";
4
4
  export { loadMappings, resetMappings, resetScenarios, mockLogRequests, goodmockMode, GoodmockMode, startRecording, snapshotAndSaveRecording, } from "./goodmock.js";
5
5
  export { createTest, } from "./playwright.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-e2e-utils",
3
- "version": "11.57.0-alpha.1",
3
+ "version": "11.57.0-alpha.3",
4
4
  "description": "GoodData utility functions for Playwright E2E tests",
5
5
  "license": "MIT",
6
6
  "author": "GoodData",
@@ -45,11 +45,12 @@
45
45
  "jiti": "2.6.1",
46
46
  "npm-run-all": "4.1.5",
47
47
  "oxfmt": "0.66.0",
48
- "oxlint": "1.57.0",
49
- "oxlint-tsgolint": "0.18.1",
48
+ "oxlint": "1.67.0",
49
+ "oxlint-plugin-eslint": "1.82.0",
50
+ "oxlint-tsgolint": "0.22.1",
50
51
  "typescript": "7.0.2",
51
- "@gooddata/eslint-config": "11.57.0-alpha.1",
52
- "@gooddata/oxlint-config": "11.57.0-alpha.1"
52
+ "@gooddata/eslint-config": "11.57.0-alpha.3",
53
+ "@gooddata/oxlint-config": "11.57.0-alpha.3"
53
54
  },
54
55
  "scripts": {
55
56
  "_phase:build": "npm run build",