Skip to content

Commit e6520f7

Browse files
SasanFarrokhSasan Farrokh
andauthored
feat: add compilerOptions to vue-jest global options (#380)
Co-authored-by: Sasan Farrokh <[email protected]>
1 parent a7f4e66 commit e6520f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vue3-jest/lib/process.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ function processTemplate(descriptor, filename, config) {
9999
preprocessOptions: vueJestConfig[template.lang],
100100
compilerOptions: {
101101
bindingMetadata: bindings,
102-
mode: 'module'
102+
mode: 'module',
103+
...vueJestConfig.compilerOptions
103104
}
104105
})
105106

0 commit comments

Comments
 (0)