diff --git a/test/__snapshots__/test.js.snap b/test/__snapshots__/test.js.snap index 18c7de3..2577feb 100644 --- a/test/__snapshots__/test.js.snap +++ b/test/__snapshots__/test.js.snap @@ -1,40 +1,30 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`works with code splitting 1`] = ` -Object { - "chunk-1.js": Object { - "code": "var chunk1=\\"chunk-1\\";console.log(chunk1); +Array [ + Array [ + "chunk-1.js", + Object { + "code": "var chunk1=\\"chunk-1\\";console.log(chunk1); ", - "exports": Array [], - "fileName": "chunk-1.js", - "imports": Array [], - "isEntry": true, - "map": null, - "modules": Object { - "/Users/trysound/host/rollup-plugin-uglify/test/fixtures/chunk-1.js": Object { - "originalLength": 44, - "removedExports": Array [], - "renderedExports": Array [], - "renderedLength": 44, - }, + "exports": Array [], + "fileName": "chunk-1.js", + "imports": Array [], + "isEntry": true, + "map": null, }, - }, - "chunk-2.js": Object { - "code": "var chunk2=\\"chunk-2\\";console.log(chunk2); + ], + Array [ + "chunk-2.js", + Object { + "code": "var chunk2=\\"chunk-2\\";console.log(chunk2); ", - "exports": Array [], - "fileName": "chunk-2.js", - "imports": Array [], - "isEntry": true, - "map": null, - "modules": Object { - "/Users/trysound/host/rollup-plugin-uglify/test/fixtures/chunk-2.js": Object { - "originalLength": 44, - "removedExports": Array [], - "renderedExports": Array [], - "renderedLength": 44, - }, + "exports": Array [], + "fileName": "chunk-2.js", + "imports": Array [], + "isEntry": true, + "map": null, }, - }, -} + ], +] `;