Skip to content

Commit

Permalink
fix deprecations in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstormtaylor committed Oct 13, 2017
1 parent 6ae1548 commit b9eabfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/changes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('changes', async () => {
const fn = module.default
const change = input.change()
fn(change)
const opts = { preserveSelection: true, preserveStateData: true }
const opts = { preserveSelection: true, preserveData: true }
const actual = change.state.toJSON(opts)
const expected = output.toJSON(opts)
assert.deepEqual(actual, expected)
Expand Down
2 changes: 1 addition & 1 deletion test/history/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('history', async () => {

t(test, async () => {
const next = fn(input)
const opts = { preserveSelection: true, preserveStateData: true }
const opts = { preserveSelection: true, preserveData: true }
const actual = next.toJSON(opts)
const expected = output.toJSON(opts)
assert.deepEqual(actual, expected)
Expand Down

0 comments on commit b9eabfd

Please sign in to comment.