Uses string for glob pattern (#1765)

This commit is contained in:
Mihovil Ilakovac 2024-02-14 12:43:23 +01:00 committed by GitHub
parent 0d0deb47f1
commit 3cb706e124
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -275,7 +275,7 @@ genViteConfig spec = return $ C.mkTmplFdWithData tmplFile tmplData
"vitest"
.= object
[ "setupFilesArray" .= makeJsArrayFromHaskellList vitestSetupFiles,
"excludeWaspArtefactsPattern" .= SP.fromRelFile (dotWaspDirInWaspProjectDir </> [relfile|**/*|])
"excludeWaspArtefactsPattern" .= (SP.fromRelDir dotWaspDirInWaspProjectDir ++ "**/*")
]
]
vitestSetupFiles =