cypress 14.3.3 → 14.4.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.
- package/package.json +3 -3
- package/types/cypress.d.ts +1 -1
- package/types/sinon-chai/index.d.ts +6 -16
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "14.
|
3
|
+
"version": "14.4.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"scripts": {
|
6
6
|
"postinstall": "node index.js --exec install",
|
@@ -123,8 +123,8 @@
|
|
123
123
|
},
|
124
124
|
"buildInfo": {
|
125
125
|
"commitBranch": "develop",
|
126
|
-
"commitSha": "
|
127
|
-
"commitDate": "2025-05-
|
126
|
+
"commitSha": "09868d73b13fc24d79ef02eac3cd7809b918179d",
|
127
|
+
"commitDate": "2025-05-20T17:10:12.000Z",
|
128
128
|
"stable": true
|
129
129
|
},
|
130
130
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/types/cypress.d.ts
CHANGED
@@ -1755,7 +1755,7 @@ declare namespace Cypress {
|
|
1755
1755
|
* cy.press(Cypress.Keyboard.Keys.TAB) // dispatches a keydown and press event to the browser, followed by a keyup event.
|
1756
1756
|
* @see https://on.cypress.io/press
|
1757
1757
|
*/
|
1758
|
-
press(key: typeof Cypress.Keyboard.Keys[keyof typeof Cypress.Keyboard.Keys], options?: Partial<Loggable & Timeoutable>):
|
1758
|
+
press(key: typeof Cypress.Keyboard.Keys[keyof typeof Cypress.Keyboard.Keys], options?: Partial<Loggable & Timeoutable>): Chainable<null>
|
1759
1759
|
|
1760
1760
|
/**
|
1761
1761
|
* Get the immediately preceding sibling of each element in a set of the elements.
|
@@ -1,20 +1,10 @@
|
|
1
|
-
// Type definitions for sinon-chai 3.2.0
|
2
|
-
// Project: https://github.com/domenic/sinon-chai
|
3
|
-
// Definitions by: Kazi Manzur Rashid <https://github.com/kazimanzurrashid>
|
4
|
-
// Jed Mao <https://github.com/jedmao>
|
5
|
-
// Eyal Lapid <https://github.com/elpdpt>
|
6
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
7
|
-
// TypeScript Version: 3.0
|
8
|
-
|
9
1
|
/// <reference path="../chai/index.d.ts" />
|
10
2
|
/// <reference path="../sinon/index.d.ts" />
|
11
3
|
|
12
|
-
import * as Sinon from
|
4
|
+
import * as Sinon from "../sinon";
|
13
5
|
|
14
6
|
declare global {
|
15
|
-
|
16
7
|
export namespace Chai {
|
17
|
-
|
18
8
|
interface LanguageChains {
|
19
9
|
always: Assertion;
|
20
10
|
}
|
@@ -43,21 +33,21 @@ declare global {
|
|
43
33
|
/**
|
44
34
|
* Returns true if the spy was called before anotherSpy.
|
45
35
|
*/
|
46
|
-
calledBefore(anotherSpy: Sinon.SinonSpy): Assertion;
|
36
|
+
calledBefore(anotherSpy: Sinon.SinonSpy | Sinon.SinonSpyCall | Sinon.SinonStub): Assertion;
|
47
37
|
/**
|
48
38
|
* Returns true if the spy was called after anotherSpy.
|
49
39
|
*/
|
50
|
-
calledAfter(anotherSpy: Sinon.SinonSpy): Assertion;
|
40
|
+
calledAfter(anotherSpy: Sinon.SinonSpy | Sinon.SinonSpyCall | Sinon.SinonStub): Assertion;
|
51
41
|
/**
|
52
42
|
* Returns true if spy was called before anotherSpy, and no spy calls occurred
|
53
43
|
* between spy and anotherSpy.
|
54
44
|
*/
|
55
|
-
calledImmediatelyBefore(anotherSpy: Sinon.SinonSpy): Assertion;
|
45
|
+
calledImmediatelyBefore(anotherSpy: Sinon.SinonSpy | Sinon.SinonStub): Assertion;
|
56
46
|
/**
|
57
47
|
* Returns true if spy was called after anotherSpy, and no spy calls occurred
|
58
48
|
* between anotherSpy and spy.
|
59
49
|
*/
|
60
|
-
calledImmediatelyAfter(anotherSpy: Sinon.SinonSpy): Assertion;
|
50
|
+
calledImmediatelyAfter(anotherSpy: Sinon.SinonSpy | Sinon.SinonStub): Assertion;
|
61
51
|
/**
|
62
52
|
* Returns true if spy/stub was called with the new operator. Beware that
|
63
53
|
* this is inferred based on the value of the this object and the spy
|
@@ -105,5 +95,5 @@ declare global {
|
|
105
95
|
}
|
106
96
|
|
107
97
|
declare const sinonChai: Chai.ChaiPlugin;
|
108
|
-
declare namespace sinonChai {
|
98
|
+
declare namespace sinonChai {}
|
109
99
|
export = sinonChai;
|