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
In AVA, when diffing snapshots the gutters are inverted. This doesn't invert the string diff colors though. Compare the output for these tests:
importtestfrom'ava'test('snapshot diff',t=>{t.snapshot(`\n${Date.now()}\n`,'the - value should be less than the + value')})test('direct diff',t=>{t.is(`\n${Date.now()-42e5}\n`,`\n${Date.now()}\n`)})
I realized this previously but hadn't yet filed the issue. Example via avajs/ava#1558.
In AVA, when diffing snapshots the gutters are inverted. This doesn't invert the string diff colors though. Compare the output for these tests:
I realized this previously but hadn't yet filed the issue. Example via avajs/ava#1558.
IssueHunt Summary
ninevra has been rewarded.
Backers (Total: $40.00)
Submitted pull Requests
Tips
The text was updated successfully, but these errors were encountered: