@dhis2-ui/card 9.4.3 → 9.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var _steps = require("cypress-cucumber-preprocessor/steps");
3
+ var _cypressCucumberPreprocessor = require("@badeball/cypress-cucumber-preprocessor");
4
4
 
5
- (0, _steps.Given)('a Card with children is rendered', () => {
5
+ (0, _cypressCucumberPreprocessor.Given)('a Card with children is rendered', () => {
6
6
  cy.visitStory('Card', 'With children');
7
7
  cy.get('[data-test="dhis2-uicore-card"]').should('be.visible');
8
8
  });
9
- (0, _steps.Then)('the children are visible', () => {
9
+ (0, _cypressCucumberPreprocessor.Then)('the children are visible', () => {
10
10
  cy.contains('I am a child').should('be.visible');
11
11
  });
@@ -1,4 +1,4 @@
1
- import { Given, Then } from 'cypress-cucumber-preprocessor/steps';
1
+ import { Given, Then } from '@badeball/cypress-cucumber-preprocessor';
2
2
  Given('a Card with children is rendered', () => {
3
3
  cy.visitStory('Card', 'With children');
4
4
  cy.get('[data-test="dhis2-uicore-card"]').should('be.visible');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/card",
3
- "version": "9.4.3",
3
+ "version": "9.4.5",
4
4
  "description": "UI Card",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@dhis2/prop-types": "^3.1.2",
36
- "@dhis2/ui-constants": "9.4.3",
36
+ "@dhis2/ui-constants": "9.4.5",
37
37
  "classnames": "^2.3.1",
38
38
  "prop-types": "^15.7.2"
39
39
  },