Nanciee / cypress-autorecord

Simplify API mocking by auto-recording/stubbing HTTP interactions and automating the process of updating/deleting mocks.
223 stars 53 forks source link

Refactor 3.1 #58

Closed mhssmnn closed 3 years ago

mhssmnn commented 3 years ago

Resolves #54 Resolves #55 Resolves #32

This pull request reverts and then re-adds some recent merges that seem to have introduced some bugs.

It was hard to see the introduced bugs due to all the stylistic code changes added in the diff, so this pull request only includes the functional changes from #50.

Also added tests for fixtures generated when file size is > 70mb. This required adding the configuration option maxInlineResponseSize.

mhssmnn commented 3 years ago

@Nanciee It's probably easier to look at this compare to see the actual code changes in this PR. This link is from just before the commits from filestage, so it doesn't include a lot of the stylistic code changes.

https://github.com/Nanciee/cypress-autorecord/compare/36375c1aefc0beaa44d304bbae46d9f5463edc5d...mhssmnn:refactor-3.1