You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor layout error assertion to use path normalization (#3203)
To prevent false negatives in tests due to path formatting differences:
* Updated expected error message to use `path.normalize(config.dbFile)` instead of `config.dbFile.split('./')[1]`, see docs: https://nodejs.org/api/path.html#pathnormalizepath
* Ensures consistent behavior across platforms
* Improves resilience when users provide paths with mixed or repeated slashes
0 commit comments