Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 22, 2023
1 parent 51c3739 commit b72204f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uncaught.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ each(
const input = getInput()
const { value, changes } = safeJsonValue(input)
t.true('prop' in value)
const lastChange = changes[changes.length - 1]
const lastChange = changes.at(-1)
t.true(Array.isArray(lastChange.path) && lastChange.path.every(isProp))
t.is(typeof lastChange.oldValue, 'object')
t.is(lastChange.newValue, undefined)
Expand Down

0 comments on commit b72204f

Please sign in to comment.