Pinpickle / tight

Bolt boilerplate generator
15 stars 0 forks source link

Remove unused dependencies between tests #19

Open Pinpickle opened 8 years ago

Pinpickle commented 8 years ago

If an accidental require ends up in a case (eg a call to browserify when the user hasn't asked for Browserify), this will probably crash the application but may pass in some tests (as dependencies are cached). This exact bug is illustrated in #18

The relevant dependency files should be parsed, and all dependencies on the file system that aren't in the file should be deleted.