dceky 1.0.26 → 1.0.27
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.
|
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
/* --------------- Command -------------- */
|
|
6
6
|
/*----------------------------------------*/
|
|
7
7
|
var getProfileValue = function () {
|
|
8
|
-
|
|
9
|
-
return Cypress.expose(key);
|
|
10
|
-
});
|
|
8
|
+
cy.getProfileValue = Cypress.expose;
|
|
11
9
|
};
|
|
12
10
|
/*----------------------------------------*/
|
|
13
11
|
/* --------------- Export --------------- */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProfileValue.js","sourceRoot":"","sources":["../../../src/commands/getProfileValue.ts"],"names":[],"mappings":";AAAA,iCAAiC;;AAsBjC,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAE5C,IAAM,eAAe,GAAG;IACtB,
|
|
1
|
+
{"version":3,"file":"getProfileValue.js","sourceRoot":"","sources":["../../../src/commands/getProfileValue.ts"],"names":[],"mappings":";AAAA,iCAAiC;;AAsBjC,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAE5C,IAAM,eAAe,GAAG;IACtB,EAAE,CAAC,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC;AACtC,CAAC,CAAC;AAEF,4CAA4C;AAC5C,4CAA4C;AAC5C,4CAA4C;AAE5C,kBAAe,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ declare global {
|
|
|
15
15
|
*/
|
|
16
16
|
getProfileValue(
|
|
17
17
|
key: string,
|
|
18
|
-
):
|
|
18
|
+
): any;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -25,12 +25,7 @@ declare global {
|
|
|
25
25
|
/*----------------------------------------*/
|
|
26
26
|
|
|
27
27
|
const getProfileValue = () => {
|
|
28
|
-
Cypress.
|
|
29
|
-
'getProfileValue',
|
|
30
|
-
(key) => {
|
|
31
|
-
return Cypress.expose(key);
|
|
32
|
-
},
|
|
33
|
-
);
|
|
28
|
+
cy.getProfileValue = Cypress.expose;
|
|
34
29
|
};
|
|
35
30
|
|
|
36
31
|
/*----------------------------------------*/
|