mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-27 11:29:27 -06:00
Merge remote-tracking branch 'origin/develop' into 10.0-release-merge-3-24
This commit is contained in:
2
cli/types/cypress-eventemitter.d.ts
vendored
2
cli/types/cypress-eventemitter.d.ts
vendored
@@ -30,4 +30,4 @@ interface NodeEventEmitter {
|
||||
|
||||
// We use the Buffer class for dealing with binary data, especially around the
|
||||
// selectFile interface.
|
||||
type BufferType = import("buffer/").Buffer
|
||||
type BufferType = typeof import("buffer/").Buffer
|
||||
|
||||
@@ -173,6 +173,12 @@ namespace BlobTests {
|
||||
})
|
||||
}
|
||||
|
||||
namespace BufferTests {
|
||||
const buffer = Cypress.Buffer.from('sometext')
|
||||
Cypress.Buffer.isBuffer(buffer)
|
||||
buffer.length
|
||||
}
|
||||
|
||||
cy.window().then(window => {
|
||||
window // $ExpectType AUTWindow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user