aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-12 07:27:15 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-12 07:27:15 -0700
commit02a8f9962973402a046f241b6de985aa117cf45a (patch)
tree43b21d0c66125b37a0dfc3cae01d9d19a24fb2b7
parent20f1057a7def38b689a09116938076ab1e88fcc4 (diff)
downloadbun-02a8f9962973402a046f241b6de985aa117cf45a.tar.gz
bun-02a8f9962973402a046f241b6de985aa117cf45a.tar.zst
bun-02a8f9962973402a046f241b6de985aa117cf45a.zip
sort more
-rw-r--r--test/bundler/bundler_plugin.test.ts2
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);