Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Aug 30, 2018
1 parent 45fe426 commit aab878f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test.js
Expand Up @@ -74,5 +74,7 @@ test("works with code splitting", async () => {
plugins: [uglify()]
});
const { output } = await bundle.generate({ format: "esm" });
expect(output).toMatchSnapshot();
expect(
Object.entries(output).map(([key, { modules, ...value }]) => [key, value])
).toMatchSnapshot();
});

0 comments on commit aab878f

Please sign in to comment.