Skip to content

Commit 19d11eb

Browse files
update tests
1 parent bdec0bf commit 19d11eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/abilities/src/store/tests/actions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ describe( 'Store Actions', () => {
807807
await expect(
808808
action( { select: mockSelect, dispatch: mockDispatch } )
809809
).rejects.toThrow(
810-
'The category properties should provide a valid `meta` array.'
810+
'The category properties should provide a valid `meta` object.'
811811
);
812812
expect( mockDispatch ).not.toHaveBeenCalled();
813813
} );
@@ -825,7 +825,7 @@ describe( 'Store Actions', () => {
825825
await expect(
826826
action( { select: mockSelect, dispatch: mockDispatch } )
827827
).rejects.toThrow(
828-
'The category properties should provide a valid `meta` array.'
828+
'The category properties should provide a valid `meta` object.'
829829
);
830830
expect( mockDispatch ).not.toHaveBeenCalled();
831831
} );

0 commit comments

Comments
 (0)