@centreon/js-config 23.10.14 → 23.10.15

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.
@@ -6,6 +6,7 @@
6
6
  import Docker from 'dockerode';
7
7
  import { addCucumberPreprocessorPlugin } from '@badeball/cypress-cucumber-preprocessor';
8
8
  import webpackPreprocessor from '@cypress/webpack-preprocessor';
9
+ import cypressFailFast from 'cypress-fail-fast/plugin';
9
10
 
10
11
  const docker = new Docker();
11
12
 
@@ -42,6 +43,8 @@ const getWebpackOptions = (config): object => {
42
43
  export default async (on, config): Promise<void> => {
43
44
  await addCucumberPreprocessorPlugin(on, config);
44
45
 
46
+ await cypressFailFast(on, config);
47
+
45
48
  const webpackOptions = await getWebpackOptions(config);
46
49
  const options = {
47
50
  webpackOptions
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@centreon/js-config",
3
3
  "description": "Centreon Frontend shared build configuration",
4
- "version": "23.10.14",
4
+ "version": "23.10.15",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/centreon/centreon-frontend.git"
@@ -19,6 +19,7 @@
19
19
  "@badeball/cypress-cucumber-preprocessor": "^14.0.0",
20
20
  "@tsconfig/node16": "^1.0.4",
21
21
  "@types/dockerode": "^3.3.16",
22
+ "cypress-fail-fast": "^7.0.1",
22
23
  "dockerode": "^3.3.5",
23
24
  "eslint": "^8.17.0",
24
25
  "eslint-config-airbnb": "19.0.4",