I agree with @vdespa here, for me Lodash isn’t needed and the newer pm.test
function makes things more readable, in my opinion.
Also, for most Lodash functions like isEqual
you don’t need to use a require statement to bring them into the sandbox environment. So if you removed the var _ = require(‘lodash’);
from your code, it would still work.