Hide passed tests Check for Globals No try-catch Load complex files Module: < All Modules > constructor delete deprecated external file file > about folders file > add file > find entries filter forEach generate load load > complex files load > corrupted zip load > not supported features permissions stream stream > internal stream > nodejs unicode version
QUnit 1.23.0; Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/137.0.0.0 Safari/537.36 Prerender (+https://github.com/prerender/prerender) Tests completed in 193 milliseconds.0 assertions of 1 passed, 1 failed.
constructor : JSZip exists Rerun constructor : new JSZip() Rerun constructor : JSZip() Rerun version : JSZip.version is correct Rerun delete : Delete file Rerun delete : Delete file in folder Rerun delete : Delete file in folder, with a relative path Rerun delete : Delete folder Rerun delete : Delete folder with a final / Rerun delete : Delete unknown path Rerun delete : Delete nested folders Rerun delete : Delete nested folders from relative path Rerun deprecated : Removed load method throws an exception Rerun deprecated : Removed constructor with data throws an exception Rerun deprecated : Removed asText method throws an exception Rerun deprecated : Removed generate method throws an exception Rerun external : JSZip.external.Promise Rerun external : load JSZip doesn't override the global Promise Rerun external : external.Promise can be replaced in .async() Rerun external : external.Promise can be replaced in .generateAsync() Rerun external : external.Promise can be replaced in .loadAsync() Rerun file > add : Zip text file ! Rerun file > add : Zip text, folder and image Rerun file > add : Add a file to overwrite Rerun file > add : Zip text file with date Rerun file > add : Zip image file Rerun file > add : add file: from XHR (with bytes > 255) Rerun file > add : add file: wrong string as base64 Rerun file > add : add file: data url instead of base64 Rerun file > add : add file: file(name, undefined) Rerun file > add : add file: file(name, null) Rerun file > add : add file: file(name, stringAsText) Rerun file > add : add file: file(name, stringAsBinary) Rerun file > add : add file: file(name, array) Rerun file > add : add file: file(name, base64) Rerun file > add : add file: file(name, unsupported) Rerun file > add : add file: file(name, Uint8Array) Rerun file > add : add file: file(name, ArrayBuffer) Rerun file > add : add file: file(name, Blob) Rerun file > add : add file: file(name, native Promise) Rerun file > add : add file: file(name, polyfill Promise[string] as binary) Rerun file > add : add file: file(name, polyfill Promise[string] force text) Rerun file > add : add file: file(name, polyfill Promise[Blob]) Rerun file > about folders : Zip folder() shouldn't throw an exception Rerun file > about folders : Zip empty folder Rerun file > about folders : file() creates a folder with dir:true Rerun file > about folders : file() creates a folder with the right unix permissions Rerun file > about folders : file() creates a folder with the right dos permissions Rerun file > about folders : A folder stays a folder when created with file Rerun file > about folders : file() adds a slash for directories Rerun file > about folders : folder() doesn't overwrite existing entries Rerun file > about folders : createFolders works on a file Rerun file > about folders : createFolders works on a folder Rerun file > about folders : folder follows the default createFolders settings Rerun file > about folders : A folder stays a folder Rerun file > about folders : Folders are created by default Rerun file > about folders : Folders can be avoided with createFolders Rerun file > find entries : Finding a file Rerun file > find entries : Finding a file (text search) with a relative folder Rerun file > find entries : Finding files (regex) with a relative folder Rerun file > find entries : Finding folders Rerun file > find entries : Finding folders with relative path Rerun file > find entries : ZipObject attributes Rerun file > find entries : generate uses updated ZipObject date attribute Rerun filter : Filtering a zip Rerun filter : Filtering a zip from a relative path Rerun filter : Filtering a zip : the full path is still accessible Rerun forEach : forEach works on / Rerun forEach : forEach works on a sub folder Rerun generate : generate : type:string. no stream Rerun generate : generate : type:base64. no stream Rerun generate : generate : type:uint8array. no stream Rerun generate : generate : type:arraybuffer. no stream Rerun generate : generate : type:nodebuffer. no stream Rerun generate : generate : type:blob. no stream Rerun generate : generate : type:blob mimeType:application/ods. no stream Rerun generate : generate : type:string. with stream Rerun generate : generate : type:base64. with stream Rerun generate : generate : type:uint8array. with stream Rerun generate : generate : type:arraybuffer. with stream Rerun generate : generate : type:nodebuffer. with stream Rerun generate : generate : type:blob. with stream Rerun generate : generate : type:blob mimeType:application/ods. with stream Rerun generate : STORE doesn't compress, no stream Rerun generate : STORE doesn't compress, with stream Rerun generate : DEFLATE compress, no stream Rerun generate : DEFLATE compress, with stream Rerun generate : STORE is the default method Rerun generate : Lazy decompression works Rerun generate : empty zip Rerun generate : unknown compression throws an exception Rerun generate : missing type throws an exception Rerun generate : generateAsync uses the current folder level Rerun generate : generateAsync keep the explicit / folder Rerun generate : generate with promises as files Rerun load : load(string) works Rerun load : load(string) handles bytes > 255 Rerun load : load(Array) works Rerun load : load(array) handles bytes > 255 Rerun load : load(ArrayBuffer) works Rerun load : load(Uint8Array) works Rerun load : zip with DEFLATE Rerun load : read zip with comment Rerun load : generate zip with comment Rerun load : zip with extra attributes Rerun load : zip 64 Rerun load : zip with data descriptor Rerun load : nested zip (1 , 0 , 1) Rerun 164 ms Error: Ajax error for ref/nested.zip?_=1751120549783 : 404 @ 147 ms Expected: true Result: false Source: at https://code.jquery.com/qunit/qunit-1.23.0.js:2194:12
Source: at Object.testZipFile (https://d33wubrfki0l68.cloudfront.net/bundles/1ef4e8a00cceb575bd703e63a2e331de420d8394.js:1:2819)
at Object. (https://d33wubrfki0l68.cloudfront.net/bundles/1c37cd451d24d2103485f70891ca95bff74c98dc.js:1:54133)
load : nested zip with data descriptors Rerun load : nested zip 64 Rerun load : Zip text file with UTF-8 characters in filename Rerun load : Zip text file with UTF-8 characters in filename and windows compatibility Rerun load : Zip text file with backslash in filename Rerun load : Zip text file from windows with \ in central dir Rerun load : zip file with prepended bytes Rerun load : zip file with appended bytes Rerun load : zip64 file with extra bytes Rerun load : zip64 file with extra bytes Rerun load : load(promise) works Rerun load : load(blob) works Rerun load : valid crc32 Rerun load : loading in a sub folder Rerun load : loading overwrite files Rerun load > not supported features : basic encryption Rerun load > corrupted zip : bad compression method Rerun load > corrupted zip : zip file with missing bytes Rerun load > corrupted zip : zip64 file with missing bytes Rerun load > corrupted zip : not a zip file Rerun load > corrupted zip : truncated zip file Rerun load > corrupted zip : invalid crc32 but no check Rerun load > corrupted zip : invalid crc32 Rerun load > corrupted zip : bad offset Rerun load > corrupted zip : bad decompressed size, read a file Rerun load > corrupted zip : bad decompressed size, generate a zip Rerun permissions : permissions on linux : file created by zip Rerun permissions : permissions on linux : file created by zip, reloaded Rerun permissions : permissions on linux : file created by 7z Rerun permissions : permissions on linux : file created by 7z, reloaded Rerun permissions : permissions on linux : file created by file-roller on ubuntu Rerun permissions : permissions on linux : file created by file-roller on ubuntu, reloaded Rerun permissions : permissions on linux : file created by file-roller on xubuntu Rerun permissions : permissions on linux : file created by file-roller on xubuntu, reloaded Rerun permissions : permissions on linux : file created by ark Rerun permissions : permissions on linux : file created by ark, reloaded Rerun permissions : permissions on mac : file created by finder Rerun permissions : permissions on mac : file created by finder, reloaded Rerun permissions : permissions on windows : file created by the compressed folders feature Rerun permissions : permissions on windows : file created by the compressed folders feature, reloaded Rerun permissions : permissions on windows : file created by 7z Rerun permissions : permissions on windows : file created by 7z, reloaded Rerun permissions : permissions on windows : file created by izarc Rerun permissions : permissions on windows : file created by izarc, reloaded Rerun permissions : permissions on windows : file created by winrar Rerun permissions : permissions on windows : file created by winrar, reloaded Rerun stream > internal : A stream is pausable Rerun stream > nodejs : generateNodeStream generates an error Rerun stream > nodejs : ZipObject#nodeStream generates an error Rerun unicode : Zip text file with UTF-8 characters Rerun unicode : Text file with long unicode string Rerun unicode : Zip text file with UTF-8 characters in filename Rerun unicode : Zip text file with non unicode characters in filename: loadAsync without decodeFileName Rerun unicode : Zip text file with non unicode characters in filename: loadAsync with decodeFileName Rerun unicode : Zip text file with non unicode characters in filename: generateAsync with encodeFileName Rerun unicode : Zip text file and UTF-8, Pile Of Poo test Rerun