From aac99418de98d47444de34757c24ea16227e6732 Mon Sep 17 00:00:00 2001 From: Rahul Sethi <5822355+RamIdeas@users.noreply.github.com> Date: Tue, 12 Mar 2024 21:56:17 +0000 Subject: [PATCH] update snapshots --- .../deployments/deployments.list.test.ts | 18 +++++++++--------- .../deployments/deployments.status.test.ts | 6 +++--- .../__tests__/versions/versions.deploy.test.ts | 2 +- .../__tests__/versions/versions.list.test.ts | 2 +- .../__tests__/versions/versions.view.test.ts | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/wrangler/src/__tests__/versions/deployments/deployments.list.test.ts b/packages/wrangler/src/__tests__/versions/deployments/deployments.list.test.ts index eaef5f64ff72..1bab7ab4b5df 100644 --- a/packages/wrangler/src/__tests__/versions/deployments/deployments.list.test.ts +++ b/packages/wrangler/src/__tests__/versions/deployments/deployments.list.test.ts @@ -28,7 +28,7 @@ describe("deployments list", () => { ); await expect(result).rejects.toMatchInlineSnapshot( - `[Error: You need to provide a name when deploying a worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` + `[Error: You need to provide a name of your worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` ); expect(std.out).toMatchInlineSnapshot(`""`); @@ -46,7 +46,7 @@ describe("deployments list", () => { expect(std.out).toMatchInlineSnapshot(` "Created: 2021-01-04T00:00:00.000Z Author: Jean-Luc-Picard@federation.org - Source: api + Source: Rollback Message: - Version(s): (10%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -60,7 +60,7 @@ describe("deployments list", () => { Created: 2021-01-01T00:00:00.000Z Author: Jean-Luc-Picard@federation.org - Source: wrangler + Source: Upload Message: - Version(s): (20%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -74,7 +74,7 @@ describe("deployments list", () => { Created: 2021-02-02T00:00:00.000Z Author: Kathryn-Janeway@federation.org - Source: wrangler + Source: Rollback Message: Rolled back for this version Version(s): (30%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -88,7 +88,7 @@ describe("deployments list", () => { Created: 2021-02-03T00:00:00.000Z Author: Kathryn-Janeway@federation.org - Source: wrangler + Source: Wrangler 🤠 Message: - Version(s): (40%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -119,7 +119,7 @@ describe("deployments list", () => { expect(std.out).toMatchInlineSnapshot(` "Created: 2021-01-04T00:00:00.000Z Author: Jean-Luc-Picard@federation.org - Source: api + Source: Rollback Message: - Version(s): (10%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -133,7 +133,7 @@ describe("deployments list", () => { Created: 2021-01-01T00:00:00.000Z Author: Jean-Luc-Picard@federation.org - Source: wrangler + Source: Upload Message: - Version(s): (20%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -147,7 +147,7 @@ describe("deployments list", () => { Created: 2021-02-02T00:00:00.000Z Author: Kathryn-Janeway@federation.org - Source: wrangler + Source: Rollback Message: Rolled back for this version Version(s): (30%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -161,7 +161,7 @@ describe("deployments list", () => { Created: 2021-02-03T00:00:00.000Z Author: Kathryn-Janeway@federation.org - Source: wrangler + Source: Wrangler 🤠 Message: - Version(s): (40%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z diff --git a/packages/wrangler/src/__tests__/versions/deployments/deployments.status.test.ts b/packages/wrangler/src/__tests__/versions/deployments/deployments.status.test.ts index 20cc475c776e..81e1d2145eef 100644 --- a/packages/wrangler/src/__tests__/versions/deployments/deployments.status.test.ts +++ b/packages/wrangler/src/__tests__/versions/deployments/deployments.status.test.ts @@ -28,7 +28,7 @@ describe("deployments list", () => { ); await expect(result).rejects.toMatchInlineSnapshot( - `[Error: You need to provide a name when deploying a worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` + `[Error: You need to provide a name of your worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` ); expect(std.out).toMatchInlineSnapshot(`""`); @@ -46,7 +46,7 @@ describe("deployments list", () => { expect(std.out).toMatchInlineSnapshot(` "Created: 2021-01-04T00:00:00.000Z Author: Jean-Luc-Picard@federation.org - Source: api + Source: Rollback Message: - Version(s): (10%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z @@ -77,7 +77,7 @@ describe("deployments list", () => { expect(std.out).toMatchInlineSnapshot(` "Created: 2021-01-04T00:00:00.000Z Author: Jean-Luc-Picard@federation.org - Source: api + Source: Rollback Message: - Version(s): (10%) 10000000-0000-0000-0000-000000000000 Created: 2021-01-01T00:00:00.000Z diff --git a/packages/wrangler/src/__tests__/versions/versions.deploy.test.ts b/packages/wrangler/src/__tests__/versions/versions.deploy.test.ts index 18a2c6918b28..702156e08d52 100644 --- a/packages/wrangler/src/__tests__/versions/versions.deploy.test.ts +++ b/packages/wrangler/src/__tests__/versions/versions.deploy.test.ts @@ -106,7 +106,7 @@ describe("versions deploy", () => { ); await expect(result).rejects.toMatchInlineSnapshot( - `[Error: You need to provide a name when deploying a worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` + `[Error: You need to provide a name of your worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` ); }); }); diff --git a/packages/wrangler/src/__tests__/versions/versions.list.test.ts b/packages/wrangler/src/__tests__/versions/versions.list.test.ts index 0d6404ae0bf2..a8a85b76df99 100644 --- a/packages/wrangler/src/__tests__/versions/versions.list.test.ts +++ b/packages/wrangler/src/__tests__/versions/versions.list.test.ts @@ -23,7 +23,7 @@ describe("versions list", () => { ); await expect(result).rejects.toMatchInlineSnapshot( - `[Error: You need to provide a name when deploying a worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` + `[Error: You need to provide a name of your worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` ); expect(std.out).toMatchInlineSnapshot(`""`); diff --git a/packages/wrangler/src/__tests__/versions/versions.view.test.ts b/packages/wrangler/src/__tests__/versions/versions.view.test.ts index 3bbf8ddac2db..7023e0cc6200 100644 --- a/packages/wrangler/src/__tests__/versions/versions.view.test.ts +++ b/packages/wrangler/src/__tests__/versions/versions.view.test.ts @@ -51,7 +51,7 @@ describe("versions view", () => { ); await expect(result).rejects.toMatchInlineSnapshot( - `[Error: You need to provide a name when deploying a worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` + `[Error: You need to provide a name of your worker. Either pass it as a cli arg with \`--name \` or in your config file as \`name = ""\`]` ); expect(std.out).toMatchInlineSnapshot(`""`);