diff options
-rw-r--r-- | test/bundler/bundler_plugin.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bundler/bundler_plugin.test.ts b/test/bundler/bundler_plugin.test.ts index 4d31c9330..8678c9f71 100644 --- a/test/bundler/bundler_plugin.test.ts +++ b/test/bundler/bundler_plugin.test.ts @@ -467,7 +467,7 @@ describe("bundler", () => { stdout: "this string should exist once this string should exist once", }, onAfterBundle(api) { - expect(importers.sort()).toEqual([root + "/one.ts", root + "/two.ts"]); + expect(importers.sort()).toEqual([root + "/one.ts", root + "/two.ts"].sort()); expect(onResolveCount).toBe(2); const contents = api.readFile("/out.js"); expect([...contents.matchAll(/this string should exist once/g)].length).toBe(1); |