Skip to content

Commit 50be5e7

Browse files
authored
test(e2e): fix warnings for plugin hook cases (#4626)
1 parent 0a17f8f commit 50be5e7

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

e2e/cases/plugin-api/plugin-hooks/environments.test.ts e2e/cases/plugin-api/plugin-hooks-environment/index.test.ts

+6
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ rspackOnlyTest(
8383
web: {},
8484
node: {},
8585
},
86+
performance: {
87+
printFileSize: false,
88+
},
8689
},
8790
});
8891

@@ -145,6 +148,9 @@ rspackOnlyTest(
145148
web: {},
146149
node: {},
147150
},
151+
performance: {
152+
printFileSize: false,
153+
},
148154
},
149155
});
150156

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('1');

e2e/cases/plugin-api/plugin-hooks/index.test.ts

+6
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ rspackOnlyTest(
8080
cwd: __dirname,
8181
rsbuildConfig: {
8282
plugins: [plugin],
83+
performance: {
84+
printFileSize: false,
85+
},
8386
},
8487
});
8588

@@ -113,6 +116,9 @@ rspackOnlyTest(
113116
rsbuildConfig: {
114117
mode: 'development',
115118
plugins: [plugin],
119+
performance: {
120+
printFileSize: false,
121+
},
116122
},
117123
});
118124

0 commit comments

Comments
 (0)