Skip to content

Commit cc575d7

Browse files
committed
test: updateS
1 parent 48b9a97 commit cc575d7

3 files changed

Lines changed: 0 additions & 26 deletions

File tree

test/version/__snapshots__/version.test.js.snap.webpack4

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,6 @@ webpack-cli x.x.x
7878
webpack-dev-server x.x.x"
7979
`;
8080

81-
exports[`single version flag outputs version with migrate: stderr 1`] = `""`;
82-
83-
exports[`single version flag outputs version with migrate: stdout 1`] = `
84-
"@webpack-cli/migrate x.x.x
85-
webpack x.x.x
86-
webpack-cli x.x.x
87-
webpack-dev-server x.x.x"
88-
`;
89-
9081
exports[`single version flag outputs version with plugin: stderr 1`] = `""`;
9182

9283
exports[`single version flag outputs version with plugin: stdout 1`] = `

test/version/__snapshots__/version.test.js.snap.webpack5

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,6 @@ webpack-cli x.x.x
7878
webpack-dev-server x.x.x"
7979
`;
8080

81-
exports[`single version flag outputs version with migrate: stderr 1`] = `""`;
82-
83-
exports[`single version flag outputs version with migrate: stdout 1`] = `
84-
"@webpack-cli/migrate x.x.x
85-
webpack x.x.x
86-
webpack-cli x.x.x
87-
webpack-dev-server x.x.x"
88-
`;
89-
9081
exports[`single version flag outputs version with plugin: stderr 1`] = `""`;
9182

9283
exports[`single version flag outputs version with plugin: stdout 1`] = `

test/version/version.test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,6 @@ describe("single version flag", () => {
131131
expect(normalizeStdout(stdout)).toMatchSnapshot("stdout");
132132
});
133133

134-
it("outputs version with migrate", async () => {
135-
const { exitCode, stderr, stdout } = await run(__dirname, ["migrate", "--version"]);
136-
137-
expect(exitCode).toBe(0);
138-
expect(normalizeStderr(stderr)).toMatchSnapshot("stderr");
139-
expect(normalizeStdout(stdout)).toMatchSnapshot("stdout");
140-
});
141-
142134
it("outputs version with the alias c for init", async () => {
143135
const { exitCode, stderr, stdout } = await run(__dirname, ["c", "--version"]);
144136

0 commit comments

Comments
 (0)