You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* move diff logic to wrangler src utils
* move `downloadWorkerConfig`, `mapBindings` and `assertNever` to utils
* rename `mapBindings` to `mapWorkerMetadataBindings` and reorder args
* add tsdoc comment to `downloadWorkerConfig` and rename+reorder its args
* fix comment formatting
* add tsdoc comment to `mapWorkerMetadataBindings`
---------
Co-authored-by: Edmund Hung <[email protected]>
Copy file name to clipboardExpand all lines: packages/wrangler/src/__tests__/init.test.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1136,10 +1136,10 @@ describe("init", () => {
1136
1136
).rejects.toThrowError();
1137
1137
1138
1138
expect(std.err).toMatchInlineSnapshot(`
1139
-
"[31mX [41;31m[[41;97mERROR[41;31m][0m [1mError Occurred TypeError: Failed to fetch: Unable to fetch bindings, routes, or services metadata from the dashboard. Please try again later.[0m
1139
+
"[31mX [41;31m[[41;97mERROR[41;31m][0m [1mError Occurred: Unable to fetch bindings, routes, or services metadata from the dashboard. Please try again later.[0m
1140
1140
1141
-
"
1142
-
`);
1141
+
"
1142
+
`);
1143
1143
});
1144
1144
1145
1145
it("should not include migrations in config file when none are necessary",async()=>{
0 commit comments