can't use karma in require.resolve tests since we no longer depend on it