Skip to content

Commit c696e35

Browse files
tests(output): update invalid snapshot and expect failure
1 parent 22025b1 commit c696e35

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

tests/output.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ test("treeshake.moduleSideEffects = false", outputSnapshotMacro,
148148
}
149149
);
150150

151-
test("dynamic imports", outputSnapshotMacro,
151+
test.failing("dynamic imports", outputSnapshotMacro,
152152
{
153153
input: "tests/fixtures/src/index5.js",
154154
plugins: [

tests/snapshots/output.test.js.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ Generated by [AVA](https://avajs.dev).
822822
console.log("hello");␊
823823
};␊
824824
825-
import('./image-1319fbed.js')␊
825+
import("./assets/image-0fc60877.png")␊
826826
.then(png => console.log(png))␊
827827
.catch(err => console.error(err));␊
828828
@@ -836,18 +836,6 @@ Generated by [AVA](https://avajs.dev).
836836
map: null,
837837
name: 'index5',
838838
},
839-
{
840-
code: `import * as _externalAssets_95a66c4bc5ea45252417ad59966e01f0 from "./assets/image-0fc60877.png";␊
841-
export * from "./assets/image-0fc60877.png";␊
842-
export { default } from "./assets/image-0fc60877.png";␊
843-
`,
844-
fileName: 'image-1319fbed.js',
845-
isDynamicEntry: true,
846-
isEntry: false,
847-
isImplicitEntry: false,
848-
map: null,
849-
name: 'image',
850-
},
851839
]
852840

853841
> Snapshot 2
-115 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)