Merge remote-tracking branch 'origin/develop' into 10.0-release-merge-3-24

This commit is contained in:
Zach Bloomquist
2022-03-24 10:18:02 -04:00
13 changed files with 34 additions and 24 deletions

View File

@@ -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

View File

@@ -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