Update the Vitest configuration (#12493)
This commit is contained in:
parent
d5deef5699
commit
ea1a2dc8db
1 changed files with 8 additions and 4 deletions
|
@ -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',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue