Skip to content

Commit

Permalink
test: update format test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Hufe921 committed Jan 8, 2024
1 parent 531750b commit f9edf73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/menus/format.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ describe('菜单-清除格式', () => {
.then(() => {
const data = editor.command.getValue().data.main

expect(data[0].italic).to.eq(false)
expect(data[0].italic).to.eq(undefined)

expect(data[0].bold).to.eq(false)
expect(data[0].bold).to.eq(undefined)
})
})
})
Expand Down

0 comments on commit f9edf73

Please sign in to comment.