mirror of
https://github.com/langgenius/dify.git
synced 2025-12-25 10:01:31 -05:00
perf: improve Jest caching and configuration in web tests (#29881)
This commit is contained in:
@@ -20,7 +20,7 @@ const config: Config = {
|
||||
// bail: 0,
|
||||
|
||||
// The directory where Jest should store its cached dependency information
|
||||
// cacheDirectory: "/private/var/folders/9c/7gly5yl90qxdjljqsvkk758h0000gn/T/jest_dx",
|
||||
cacheDirectory: '<rootDir>/.cache/jest',
|
||||
|
||||
// Automatically clear mock calls, instances, contexts and results before every test
|
||||
clearMocks: true,
|
||||
|
||||
Reference in New Issue
Block a user