You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added this in f59bf3b to reset the counters after we've finished validating each file. Without it, callLimit is applied across multiple file validations. I didn't add a test for it though.
TODO: Add a test (at cli level) that validates 11 files and asserts we can call a mock https://www.schemastore.org/api/json/catalog.json 11 times (rather than throwing Called https://www.schemastore.org/api/json/catalog.json >10 times. Possible circular reference).
The text was updated successfully, but these errors were encountered:
chris48s
changed the title
Write a regression test for resetCounters behaviour
Write a regression test for resetCounters behaviour
Dec 27, 2021
I added this in f59bf3b to reset the counters after we've finished validating each file. Without it,
callLimit
is applied across multiple file validations. I didn't add a test for it though.TODO: Add a test (at
cli
level) that validates 11 files and asserts we can call a mock https://www.schemastore.org/api/json/catalog.json 11 times (rather than throwingCalled https://www.schemastore.org/api/json/catalog.json >10 times. Possible circular reference
).The text was updated successfully, but these errors were encountered: