mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 14:38:21 +00:00
Fix CSS module name collisions in shared-components Vitest (#33116)
This commit is contained in:
@@ -142,8 +142,8 @@ export default defineConfig({
|
||||
},
|
||||
css: {
|
||||
modules: {
|
||||
// Stabilise snapshots by stripping the hash component of the CSS module class name
|
||||
generateScopedName: (name) => name,
|
||||
// Stabilise snapshots while keeping names distinct across CSS modules.
|
||||
generateScopedName: "[name]_[local]",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user