Skip to content

Commit 4c95fe4

Browse files
committed
chore: update hmr test
1 parent cd87158 commit 4c95fe4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

playground/hmr/__tests__/hmr.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ if (!isBuild) {
3030
browserLogs.length = 0
3131
})
3232

33+
if (!process.env.VITE_TEST_FULL_BUNDLE_MODE) {
3334
test('self accept', async () => {
3435
const el = await page.$('.app')
3536
await untilBrowserLogAfter(
@@ -1099,3 +1100,4 @@ if (!isBuild) {
10991100
}, [/connected/, 'a.js'])
11001101
})
11011102
}
1103+
}

vitest.config.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export default defineConfig({
1515
include: process.env.VITE_TEST_FULL_BUNDLE_MODE
1616
? [
1717
'./playground/define/**/*.spec.[tj]s',
18-
// './playground/hmr-root/**/*.spec.[tj]s',
19-
// './playground/hmr/**/*.spec.[tj]s'
18+
'./playground/hmr-root/**/*.spec.[tj]s',
19+
'./playground/hmr/**/*.spec.[tj]s',
2020
]
2121
: ['./playground/**/*.spec.[tj]s'],
2222
exclude: [

0 commit comments

Comments
 (0)