Open module not working when the namespace is false

I was moving part of my code from a package with the option namespace set to true in the bsconfig.json to another where the namespace is set to false.
However, I’ve noticed that some of my test files are now failing to build because they are unable to import the module that was previously imported without any issues.

I think this may be related to the exotic filename for those files (*.test.res).
The documentation mentions that modules with exotic filenames may not be accessible from other ReScript modules, but in this case, the opposite seems to be happening. Is this an issue?

I’ve created a repo with the issue:
I prefer to avoid renaming all the test files in my project, so I would greatly appreciate any assistance or suggestions.


Try to run rescript clean && rescript build -with-deps

Yeah, I tried that but I keep getting the same error.