From 39b72259914c95270105aeaa1aa20e144d82abef Mon Sep 17 00:00:00 2001 From: dalaoshu Date: Sat, 31 Aug 2024 17:48:28 +0800 Subject: [PATCH] test(infra): improve e2e test stability (#7713) feat(infra): improve e2e test stability --- packages/rspack-test-tools/tests/hotCases/css/recovery/index.js | 2 +- packages/rspack-test-tools/tests/hotCases/css/recovery/main.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 packages/rspack-test-tools/tests/hotCases/css/recovery/main.js diff --git a/packages/rspack-test-tools/tests/hotCases/css/recovery/index.js b/packages/rspack-test-tools/tests/hotCases/css/recovery/index.js index 69d09ffd8d9..c2f9b07626a 100644 --- a/packages/rspack-test-tools/tests/hotCases/css/recovery/index.js +++ b/packages/rspack-test-tools/tests/hotCases/css/recovery/index.js @@ -1,4 +1,4 @@ -import "./index.css"; +import "./main"; it("css recovery", done => { NEXT( diff --git a/packages/rspack-test-tools/tests/hotCases/css/recovery/main.js b/packages/rspack-test-tools/tests/hotCases/css/recovery/main.js new file mode 100644 index 00000000000..3a29aed1595 --- /dev/null +++ b/packages/rspack-test-tools/tests/hotCases/css/recovery/main.js @@ -0,0 +1 @@ +import "./index.css";