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,12 +150,16 @@ export function getConfig(): UserConfig {
test: { test: {
environment: 'happy-dom', environment: 'happy-dom',
deps: { deps: {
inline: [ optimizer: {
web: {
include: [
// XXX: misskey-dev/browser-image-resizer has no "type": "module" // XXX: misskey-dev/browser-image-resizer has no "type": "module"
'browser-image-resizer', 'browser-image-resizer',
], ],
}, },
}, },
},
},
}; };
} }