Managed to work it out after more deep diving. Found this: https://techkluster.com/node/jest-and-esm/
Followed this (thanks techkluster) but also did the following: