@forsakringskassan/cypress-config 1.9.0 → 1.9.2

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/README.md CHANGED
@@ -14,7 +14,7 @@ If you previously had these packages installed, they can be uninstalled:
14
14
  npm rm \
15
15
  @forsakringskassan/cypress-axe \
16
16
  cypress-html-validate \
17
- mocha-multi-reporter
17
+ mocha-multi-reporters
18
18
  ```
19
19
 
20
20
  - [Usage](#usage)
package/dist/index.d.ts CHANGED
@@ -42,6 +42,7 @@ export declare function defaultConfig(cypressMajor: string | undefined): Readonl
42
42
  bundler: "vite";
43
43
  };
44
44
  indexHtmlFile: string;
45
+ excludeSpecPattern: string[];
45
46
  };
46
47
  }>;
47
48
 
package/dist/index.mjs CHANGED
@@ -258,13 +258,15 @@ function defaultConfig(cypressMajor2) {
258
258
  framework: "vue",
259
259
  bundler: "vite"
260
260
  },
261
- indexHtmlFile: require3.resolve("#assets/component-index.html")
261
+ indexHtmlFile: require3.resolve("#assets/component-index.html"),
262
+ /* cloneman puts cy-files in temp folder during build */
263
+ excludeSpecPattern: ["temp/**"]
262
264
  }
263
265
  });
264
266
  }
265
267
 
266
268
  // src/define-config.ts
267
- import pkg from "cypress/package.json";
269
+ import pkg from "cypress/package.json" with { type: "json" };
268
270
  var cypressMajor = pkg.version.split(".", 2).at(0);
269
271
  function defineConfig(_rootDir, userConfig) {
270
272
  return mergeConfig(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/cypress-config",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "Sharable Cypress configuration building blocks for Försäkringskassan",
5
5
  "keywords": [
6
6
  "cypress"