The fallback file lookup is broken on Windows. When the exact path doesn't exist, it joins paths with path.join (which produces \ separators on Windows), then strips slashes from the basename with a helper that only handles /. So it ends up searching mock\users for files starting with \profile and finds nothing.
The fallback file lookup is broken on Windows. When the exact path doesn't exist, it joins paths with path.join (which produces \ separators on Windows), then strips slashes from the basename with a helper that only handles /. So it ends up searching mock\users for files starting with \profile and finds nothing.