If anyone wants to see the spotlight animate with the spotlight helper, you can make the following changes to @Mugen87 's jsfiddle.
// Add this at the end to declare `spotLightHelper`
let camera, scene, renderer, clock, spotLight, spotLightHelper;
init();
animate();
...
scene.add( spotLight.target ); // add target to the scene
// Add this to add a SpotLightHelper
spotLightHelper = new THREE.SpotLightHelper(spotLight, 0XFF00FF)
scene.add(spotLightHelper);
...
spotLight.target.position.z = Math.cos( time );
// Add this in animate() to make sure it animates.
if (spotLightHelper) spotLightHelper.update();
...