feat: change cy.intercept override behavior (#14543)

This commit is contained in:
Zach Bloomquist
2021-03-26 18:22:18 +00:00
committed by GitHub
parent 491e6e2286
commit f6a5d1ea2e
30 changed files with 1357 additions and 543 deletions

View File

@@ -73,7 +73,7 @@ const checkZipSize = function (zipPath) {
const zipSize = filesize(stats.size, { round: 0 })
console.log(`zip file size ${zipSize}`)
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 265 : 228
const MAX_ALLOWED_SIZE_MB = os.platform() === 'win32' ? 265 : 230
const MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB)
if (stats.size > MAX_ZIP_FILE_SIZE) {