fix: give each test worker its own SQLite database
Parallel Vitest workers were opening data/pichost.db together, so host-isolation failed with database is locked.
This commit is contained in:
1 parent
10baf9d489
commit
424bfd9090
3 files changed
+27
-2
No files matched your search
@@ -131,7 +131,8 @@ describe('shouldBlockSiteHostImageRequest', () => {
|
||||
siteHost,
|
||||
requestHost: siteHost,
|
||||
method: 'GET',
|
||||
pathname: '/'
|
||||
pathname: '/',
|
||||
hideFolder: false
|
||||
})).toBe(false)
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user