require.resolve(path) - only support file based modules
use scalatest-2.0