aws-event-mocks icon indicating copy to clipboard operation
aws-event-mocks copied to clipboard

Use fs.readfileSync over require

Open herebebogans opened this issue 5 years ago • 0 comments

Hi.

Ran into object caching issues in our test suites due to the usage of require to read the sample mocks as described here.

https://goenning.net/2016/04/14/stop-reading-json-files-with-require/

This PR should address the issue

herebebogans avatar Apr 23 '19 02:04 herebebogans