Uh why not use a standard sinon mock here? We already have sinon included in all tests...