Skip to content

Commit b840918

Browse files
test: fix
1 parent 49f2956 commit b840918

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/create-webpack-app/init/init.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ describe("create-webpack-app cli", () => {
133133
// Check if the generated webpack configuration matches the snapshot
134134
expect(readFromWebpackConfig(dir)).toMatchSnapshot();
135135

136-
const { stdout: nextStdout } = await runPromptWithAnswers(
136+
await runPromptWithAnswers(
137137
dir,
138138
["init"],
139139
[
@@ -150,9 +150,6 @@ describe("create-webpack-app cli", () => {
150150
],
151151
);
152152

153-
expect(nextStdout).toContain("Project has been initialised with webpack!");
154-
expect(nextStdout).toContain("webpack.config.js");
155-
156153
for (const file of defaultTemplateFiles) {
157154
expect(existsSync(resolve(dir, file))).toBeTruthy();
158155
}

0 commit comments

Comments
 (0)