You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('emits a warning that DISABLE_BUNDLE_ZIP_SIZE_CHECK was enabled',async()=>{
110
127
process.env.DISABLE_BUNDLE_ZIP_SIZE_CHECK='true'
111
128
awaitcheckZipSize(chance.string())
112
-
expect(consoleSpy).toHaveBeenCalledWith(
129
+
expect(consoleWarnSpy).toHaveBeenCalledWith(
113
130
'Function bundle size check was DISABLED with the DISABLE_BUNDLE_ZIP_SIZE_CHECK environment variable. Your deployment will break if it exceeds the maximum supported size of function zip files in your account.',
114
131
)
115
132
})
133
+
134
+
it('does not emit a warning if the file size is below the warning size',async()=>{
0 commit comments