From 315db16cad5063184a71f17f17a8b84d1d867cc7 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Wed, 7 Dec 2022 10:35:14 +0000 Subject: [PATCH] Add more attributes to attribute test --- .../src/navigation/edit/test/are-blocks-dirty.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/navigation/edit/test/are-blocks-dirty.js b/packages/block-library/src/navigation/edit/test/are-blocks-dirty.js index 05f8f4416d2215..dc2b9a3f31f29b 100644 --- a/packages/block-library/src/navigation/edit/test/are-blocks-dirty.js +++ b/packages/block-library/src/navigation/edit/test/are-blocks-dirty.js @@ -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 ); } );