JSZip Testing

Rerunning selected tests: 07e587a0 Run all tests

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 155 milliseconds.
0 assertions of 1 passed, 1 failed.

  1. constructor: JSZip existsRerun
    1. constructor: new JSZip()Rerun
      1. constructor: JSZip()Rerun
        1. version: JSZip.version is correctRerun
          1. delete: Delete fileRerun
            1. delete: Delete file in folderRerun
              1. delete: Delete file in folder, with a relative pathRerun
                1. delete: Delete folderRerun
                  1. delete: Delete folder with a final /Rerun
                    1. delete: Delete unknown pathRerun
                      1. delete: Delete nested foldersRerun
                        1. delete: Delete nested folders from relative pathRerun
                          1. deprecated: Removed load method throws an exceptionRerun
                            1. deprecated: Removed constructor with data throws an exceptionRerun
                              1. deprecated: Removed asText method throws an exceptionRerun
                                1. deprecated: Removed generate method throws an exceptionRerun
                                  1. external: JSZip.external.PromiseRerun
                                    1. external: load JSZip doesn't override the global PromiseRerun
                                      1. external: external.Promise can be replaced in .async()Rerun
                                        1. external: external.Promise can be replaced in .generateAsync()Rerun
                                          1. external: external.Promise can be replaced in .loadAsync()Rerun
                                            1. file > add: Zip text file !Rerun
                                              1. file > add: Zip text, folder and imageRerun
                                                1. file > add: Add a file to overwriteRerun
                                                  1. file > add: Zip text file with dateRerun
                                                    1. file > add: Zip image fileRerun
                                                      1. file > add: add file: from XHR (with bytes > 255)Rerun
                                                        1. file > add: add file: wrong string as base64Rerun
                                                          1. file > add: add file: data url instead of base64Rerun
                                                            1. file > add: add file: file(name, undefined)Rerun
                                                              1. file > add: add file: file(name, null)Rerun
                                                                1. file > add: add file: file(name, stringAsText)Rerun
                                                                  1. file > add: add file: file(name, stringAsBinary)Rerun
                                                                    1. file > add: add file: file(name, array)Rerun
                                                                      1. file > add: add file: file(name, base64)Rerun
                                                                        1. file > add: add file: file(name, unsupported)Rerun
                                                                          1. file > add: add file: file(name, Uint8Array)Rerun
                                                                            1. file > add: add file: file(name, ArrayBuffer)Rerun
                                                                              1. file > add: add file: file(name, Blob)Rerun
                                                                                1. file > add: add file: file(name, native Promise)Rerun
                                                                                  1. file > add: add file: file(name, polyfill Promise[string] as binary)Rerun
                                                                                    1. file > add: add file: file(name, polyfill Promise[string] force text)Rerun
                                                                                      1. file > add: add file: file(name, polyfill Promise[Blob])Rerun
                                                                                        1. file > about folders: Zip folder() shouldn't throw an exceptionRerun
                                                                                          1. file > about folders: Zip empty folderRerun
                                                                                            1. file > about folders: file() creates a folder with dir:trueRerun
                                                                                              1. file > about folders: file() creates a folder with the right unix permissionsRerun
                                                                                                1. file > about folders: file() creates a folder with the right dos permissionsRerun
                                                                                                  1. file > about folders: A folder stays a folder when created with fileRerun
                                                                                                    1. file > about folders: file() adds a slash for directoriesRerun
                                                                                                      1. file > about folders: folder() doesn't overwrite existing entriesRerun
                                                                                                        1. file > about folders: createFolders works on a fileRerun
                                                                                                          1. file > about folders: createFolders works on a folderRerun
                                                                                                            1. file > about folders: folder follows the default createFolders settingsRerun
                                                                                                              1. file > about folders: A folder stays a folderRerun
                                                                                                                1. file > about folders: Folders are created by defaultRerun
                                                                                                                  1. file > about folders: Folders can be avoided with createFoldersRerun
                                                                                                                    1. file > find entries: Finding a fileRerun
                                                                                                                      1. file > find entries: Finding a file (text search) with a relative folderRerun
                                                                                                                        1. file > find entries: Finding files (regex) with a relative folderRerun
                                                                                                                          1. file > find entries: Finding foldersRerun
                                                                                                                            1. file > find entries: Finding folders with relative pathRerun
                                                                                                                              1. file > find entries: ZipObject attributesRerun
                                                                                                                                1. file > find entries: generate uses updated ZipObject date attributeRerun
                                                                                                                                  1. filter: Filtering a zipRerun
                                                                                                                                    1. filter: Filtering a zip from a relative pathRerun
                                                                                                                                      1. filter: Filtering a zip : the full path is still accessibleRerun
                                                                                                                                        1. forEach: forEach works on /Rerun
                                                                                                                                          1. forEach: forEach works on a sub folderRerun
                                                                                                                                            1. generate: generate : type:string. no streamRerun
                                                                                                                                              1. generate: generate : type:base64. no streamRerun
                                                                                                                                                1. generate: generate : type:uint8array. no streamRerun
                                                                                                                                                  1. generate: generate : type:arraybuffer. no streamRerun
                                                                                                                                                    1. generate: generate : type:nodebuffer. no streamRerun
                                                                                                                                                      1. generate: generate : type:blob. no streamRerun
                                                                                                                                                        1. generate: generate : type:blob mimeType:application/ods. no streamRerun
                                                                                                                                                          1. generate: generate : type:string. with streamRerun
                                                                                                                                                            1. generate: generate : type:base64. with streamRerun
                                                                                                                                                              1. generate: generate : type:uint8array. with streamRerun
                                                                                                                                                                1. generate: generate : type:arraybuffer. with streamRerun
                                                                                                                                                                  1. generate: generate : type:nodebuffer. with streamRerun
                                                                                                                                                                    1. generate: generate : type:blob. with streamRerun
                                                                                                                                                                      1. generate: generate : type:blob mimeType:application/ods. with streamRerun
                                                                                                                                                                        1. generate: STORE doesn't compress, no streamRerun
                                                                                                                                                                          1. generate: STORE doesn't compress, with stream (1, 0, 1)Rerun142 ms
                                                                                                                                                                            1. Error: Ajax error for ref/store-stream.zip?_=1751120106953 : 404 @ 129 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 https://d33wubrfki0l68.cloudfront.net/bundles/1c37cd451d24d2103485f70891ca95bff74c98dc.js:1:42720 at testGenerateFor (https://d33wubrfki0l68.cloudfront.net/bundles/1c37cd451d24d2103485f70891ca95bff74c98dc.js:1:37337) at https://d33wubrfki0l68.cloudfront.net/bundles/1c37cd451d24d2103485f70891ca95bff74c98dc.js:1:42527

                                                                                                                                                                          2. generate: DEFLATE compress, no streamRerun
                                                                                                                                                                            1. generate: DEFLATE compress, with streamRerun
                                                                                                                                                                              1. generate: STORE is the default methodRerun
                                                                                                                                                                                1. generate: Lazy decompression worksRerun
                                                                                                                                                                                  1. generate: empty zipRerun
                                                                                                                                                                                    1. generate: unknown compression throws an exceptionRerun
                                                                                                                                                                                      1. generate: missing type throws an exceptionRerun
                                                                                                                                                                                        1. generate: generateAsync uses the current folder levelRerun
                                                                                                                                                                                          1. generate: generateAsync keep the explicit / folderRerun
                                                                                                                                                                                            1. generate: generate with promises as filesRerun
                                                                                                                                                                                              1. load: load(string) worksRerun
                                                                                                                                                                                                1. load: load(string) handles bytes > 255Rerun
                                                                                                                                                                                                  1. load: load(Array) worksRerun
                                                                                                                                                                                                    1. load: load(array) handles bytes > 255Rerun
                                                                                                                                                                                                      1. load: load(ArrayBuffer) worksRerun
                                                                                                                                                                                                        1. load: load(Uint8Array) worksRerun
                                                                                                                                                                                                          1. load: zip with DEFLATERerun
                                                                                                                                                                                                            1. load: read zip with commentRerun
                                                                                                                                                                                                              1. load: generate zip with commentRerun
                                                                                                                                                                                                                1. load: zip with extra attributesRerun
                                                                                                                                                                                                                  1. load: zip 64Rerun
                                                                                                                                                                                                                    1. load: zip with data descriptorRerun
                                                                                                                                                                                                                      1. load: nested zipRerun
                                                                                                                                                                                                                        1. load: nested zip with data descriptorsRerun
                                                                                                                                                                                                                          1. load: nested zip 64Rerun
                                                                                                                                                                                                                            1. load: Zip text file with UTF-8 characters in filenameRerun
                                                                                                                                                                                                                              1. load: Zip text file with UTF-8 characters in filename and windows compatibilityRerun
                                                                                                                                                                                                                                1. load: Zip text file with backslash in filenameRerun
                                                                                                                                                                                                                                  1. load: Zip text file from windows with \ in central dirRerun
                                                                                                                                                                                                                                    1. load: zip file with prepended bytesRerun
                                                                                                                                                                                                                                      1. load: zip file with appended bytesRerun
                                                                                                                                                                                                                                        1. load: zip64 file with extra bytesRerun
                                                                                                                                                                                                                                          1. load: zip64 file with extra bytes Rerun
                                                                                                                                                                                                                                            1. load: load(promise) worksRerun
                                                                                                                                                                                                                                              1. load: load(blob) worksRerun
                                                                                                                                                                                                                                                1. load: valid crc32Rerun
                                                                                                                                                                                                                                                  1. load: loading in a sub folderRerun
                                                                                                                                                                                                                                                    1. load: loading overwrite filesRerun
                                                                                                                                                                                                                                                      1. load > not supported features: basic encryptionRerun
                                                                                                                                                                                                                                                        1. load > corrupted zip: bad compression methodRerun
                                                                                                                                                                                                                                                          1. load > corrupted zip: zip file with missing bytesRerun
                                                                                                                                                                                                                                                            1. load > corrupted zip: zip64 file with missing bytesRerun
                                                                                                                                                                                                                                                              1. load > corrupted zip: not a zip fileRerun
                                                                                                                                                                                                                                                                1. load > corrupted zip: truncated zip fileRerun
                                                                                                                                                                                                                                                                  1. load > corrupted zip: invalid crc32 but no checkRerun
                                                                                                                                                                                                                                                                    1. load > corrupted zip: invalid crc32Rerun
                                                                                                                                                                                                                                                                      1. load > corrupted zip: bad offsetRerun
                                                                                                                                                                                                                                                                        1. load > corrupted zip: bad decompressed size, read a fileRerun
                                                                                                                                                                                                                                                                          1. load > corrupted zip: bad decompressed size, generate a zipRerun
                                                                                                                                                                                                                                                                            1. permissions: permissions on linux : file created by zipRerun
                                                                                                                                                                                                                                                                              1. permissions: permissions on linux : file created by zip, reloadedRerun
                                                                                                                                                                                                                                                                                1. permissions: permissions on linux : file created by 7zRerun
                                                                                                                                                                                                                                                                                  1. permissions: permissions on linux : file created by 7z, reloadedRerun
                                                                                                                                                                                                                                                                                    1. permissions: permissions on linux : file created by file-roller on ubuntuRerun
                                                                                                                                                                                                                                                                                      1. permissions: permissions on linux : file created by file-roller on ubuntu, reloadedRerun
                                                                                                                                                                                                                                                                                        1. permissions: permissions on linux : file created by file-roller on xubuntuRerun
                                                                                                                                                                                                                                                                                          1. permissions: permissions on linux : file created by file-roller on xubuntu, reloadedRerun
                                                                                                                                                                                                                                                                                            1. permissions: permissions on linux : file created by arkRerun
                                                                                                                                                                                                                                                                                              1. permissions: permissions on linux : file created by ark, reloadedRerun
                                                                                                                                                                                                                                                                                                1. permissions: permissions on mac : file created by finderRerun
                                                                                                                                                                                                                                                                                                  1. permissions: permissions on mac : file created by finder, reloadedRerun
                                                                                                                                                                                                                                                                                                    1. permissions: permissions on windows : file created by the compressed folders featureRerun
                                                                                                                                                                                                                                                                                                      1. permissions: permissions on windows : file created by the compressed folders feature, reloadedRerun
                                                                                                                                                                                                                                                                                                        1. permissions: permissions on windows : file created by 7zRerun
                                                                                                                                                                                                                                                                                                          1. permissions: permissions on windows : file created by 7z, reloadedRerun
                                                                                                                                                                                                                                                                                                            1. permissions: permissions on windows : file created by izarcRerun
                                                                                                                                                                                                                                                                                                              1. permissions: permissions on windows : file created by izarc, reloadedRerun
                                                                                                                                                                                                                                                                                                                1. permissions: permissions on windows : file created by winrarRerun
                                                                                                                                                                                                                                                                                                                  1. permissions: permissions on windows : file created by winrar, reloadedRerun
                                                                                                                                                                                                                                                                                                                    1. stream > internal: A stream is pausableRerun
                                                                                                                                                                                                                                                                                                                      1. stream > nodejs: generateNodeStream generates an errorRerun
                                                                                                                                                                                                                                                                                                                        1. stream > nodejs: ZipObject#nodeStream generates an errorRerun
                                                                                                                                                                                                                                                                                                                          1. unicode: Zip text file with UTF-8 charactersRerun
                                                                                                                                                                                                                                                                                                                            1. unicode: Text file with long unicode stringRerun
                                                                                                                                                                                                                                                                                                                              1. unicode: Zip text file with UTF-8 characters in filenameRerun
                                                                                                                                                                                                                                                                                                                                1. unicode: Zip text file with non unicode characters in filename: loadAsync without decodeFileNameRerun
                                                                                                                                                                                                                                                                                                                                  1. unicode: Zip text file with non unicode characters in filename: loadAsync with decodeFileNameRerun
                                                                                                                                                                                                                                                                                                                                    1. unicode: Zip text file with non unicode characters in filename: generateAsync with encodeFileNameRerun
                                                                                                                                                                                                                                                                                                                                      1. unicode: Zip text file and UTF-8, Pile Of Poo testRerun