They're probably using a platform that lets you replay the entire development session (see the pace of typing into a web IDE, what files they are looking at, etc.). Applicants will have to work pretty hard to fake natural-looking input of AI-generated code.