Skip to content

Commit

Permalink
Add more attributes to attribute test (WordPress#46355)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan authored and mpkelly committed Dec 7, 2022
1 parent c9dc193 commit e54ce82
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ describe( 'areBlocksDirty', () => {
it( `should be dirty if the blocks' attributes don't match`, () => {
expect(
areBlocksDirty(
[ { name: 'core/paragraph' } ],
[ { name: 'core/paragraph', dropCap: false } ]
[ { name: 'core/paragraph' }, { dropCap: false } ],
[
{ name: 'core/paragraph' },
{ content: 'I am actually dirty.' },
]
)
).toBe( true );
} );
Expand Down

0 comments on commit e54ce82

Please sign in to comment.