Nightpack Ambusher looks at the entire turn to see if you have cast a spell, even if Nightpack Ambusher wasn’t on the battlefield when that spell was cast. Notably, you won’t get a Wolf token during your end step if you cast Nightpack Ambusher during your turn.