I agree with you that doSomethingMocked should only run once. I copied your code and ran the unit test, but the test passed in my environment:
doSomethingMocked
I guess it's the issue with jest configuration?
here is my demo repo