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'm having an issue regarding visitorCallbackFn. Seems like it's not called if the diff is on the first level of the jsons...
I suspect it's because of this line. Any reason for this check? I'd change this code to be something like this:
In my use case I would like to call the visitor in the first level, which happens to be also the last...
I'll demonstrate the issue by a failing test:
In jsonDiff.js:
I'm having an issue regarding
visitorCallbackFn
. Seems like it's not called if the diff is on the first level of the jsons...I suspect it's because of this line. Any reason for this check? I'd change this code to be something like this:
In my use case I would like to call the visitor in the first level, which happens to be also the last...
I'll demonstrate the issue by a failing test:
In
jsonDiff.js
:In
jsonDiff.spec.js
:This currently fails with the following returned output (missing
isVisited
in "/drafts"):The text was updated successfully, but these errors were encountered: