cypress-plugin-last-failed 3.0.3 → 3.1.0

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.
Files changed (2) hide show
  1. package/package.json +2 -3
  2. package/src/index.d.ts +0 -23
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "cypress-plugin-last-failed",
3
- "version": "3.0.3",
3
+ "version": "3.1.0",
4
4
  "description": "Cypress plugin to rerun last failed tests in cypress run and open mode",
5
5
  "main": "./src/index.js",
6
- "types": "./src/index.d.ts",
7
6
  "scripts": {
8
7
  "last-failed": "npx cypress-plugin-last-failed run --e2e --browser electron",
9
8
  "custom-dir-run": "LAST_FAILED_RESULTS_PATH=cypress/config npx cypress run",
@@ -19,7 +18,7 @@
19
18
  ],
20
19
  "devDependencies": {
21
20
  "@bahmutov/cy-grep": "^3.0.4",
22
- "cypress": "^15.15.0"
21
+ "cypress": "^15.17.0"
23
22
  },
24
23
  "publishConfig": {
25
24
  "registry": "https://registry.npmjs.org/"
package/src/index.d.ts DELETED
@@ -1,23 +0,0 @@
1
- // index.d.ts
2
- declare module 'cypress-plugin-last-failed' {
3
- /**
4
- * Collects failed tests from the most recent Cypress test run.
5
- *
6
- * After each run, a file will store failed test titles within a test-results directory.
7
- *
8
- * @param {Function} on - Cypress event registration function.
9
- * @param {object} config - Cypress config object.
10
- * @returns {void}
11
- */
12
- export function collectFailingTests(
13
- on: (event: string, callback: Function) => void,
14
- config: { env: { TEST_RESULTS_PATH?: string }; configFile: string }
15
- ): void;
16
-
17
- /**
18
- * Toggles the display of failed tests in the Cypress UI.
19
- *
20
- * @returns {void}
21
- */
22
- export function failedTestToggle(): void;
23
- }