Update the Vitest configuration (#12493)

This commit is contained in:
woxtu 2023-11-29 10:41:11 +09:00 committed by GitHub
parent d5deef5699
commit ea1a2dc8db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,10 +150,14 @@ export function getConfig(): UserConfig {
test: { test: {
environment: 'happy-dom', environment: 'happy-dom',
deps: { deps: {
inline: [ optimizer: {
// XXX: misskey-dev/browser-image-resizer has no "type": "module" web: {
'browser-image-resizer', include: [
], // XXX: misskey-dev/browser-image-resizer has no "type": "module"
'browser-image-resizer',
],
},
},
}, },
}, },
}; };