title: Testing directories like snapshots
body: <p>I know it's possible to do snapshot testing for UI components in React, but I was wondering if it is possible to compress a folder and run test against it sort of like asserting if snapshots match. 
  I am currently writing unit tests for an API written in nodejs, and I'd  like to ensure that the content of a particular folder is not tampered with as it contains third party code that wasn't installed with npm.</p>