I just lost 2 hours of my time because import { ORIGIN } from '../../constants'; in a test was wrong, but vitest did not see it as an error, so ORIGIN was undefined and scale did not work as expected.
It would be nice to fix this so that I don't lose this much time in the future
I just lost 2 hours of my time because
import { ORIGIN } from '../../constants';in a test was wrong, but vitest did not see it as an error, soORIGINwas undefined andscaledid not work as expected.It would be nice to fix this so that I don't lose this much time in the future