From 3f2129ca2b8ad1f7ad16b895b79b15bf74255f24 Mon Sep 17 00:00:00 2001 From: xfsnowind Date: Sun, 15 Sep 2024 00:16:14 +0800 Subject: [PATCH] fix: fix the test snapshot --- .github/workflows/main.yml | 7 ++----- test/__snapshots__/makeDefaultRspackConfig.spec.ts.snap | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87171c4..bfda84a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,11 +27,8 @@ jobs: - name: Typecheck run: pnpm check-ts - - name: Build - run: pnpm run build - - name: Test run: pnpm run test - - name: Cypress Test - run: pnpm run cypress:run + - name: Build + run: pnpm run build diff --git a/test/__snapshots__/makeDefaultRspackConfig.spec.ts.snap b/test/__snapshots__/makeDefaultRspackConfig.spec.ts.snap index f9e9a8a..c07eed1 100644 --- a/test/__snapshots__/makeDefaultRspackConfig.spec.ts.snap +++ b/test/__snapshots__/makeDefaultRspackConfig.spec.ts.snap @@ -21,6 +21,7 @@ exports[`makeCypressRspackConfig should return a valid Configuration object 1`] "_events": {}, "_eventsCount": 0, "_maxListeners": undefined, + Symbol(shapeMode): false, Symbol(kCapture): false, }, "files": [],