Scientists have used a single-atom-thick nanomaterial to construct a device capable of detecting the viruses much more quickly than conventional tests.