@@ -75,30 +75,21 @@ describe('getNonce', () => {
7575describe ( 'getNonceKeyCount' , ( ) => {
7676 test ( 'default' , async ( ) => {
7777 // Get active nonce key count for a fresh account
78- const count = await actions . nonce . getNonceKeyCount (
79- clientWithAccount ,
80- {
81- account : account . address ,
82- } ,
83- )
78+ const count = await actions . nonce . getNonceKeyCount ( clientWithAccount , {
79+ account : account . address ,
80+ } )
8481
8582 // Fresh account should have 0 active nonce keys
8683 expect ( count ) . toBe ( 0n )
8784 } )
8885
8986 test ( 'behavior: different accounts are independent' , async ( ) => {
90- const count1 = await actions . nonce . getNonceKeyCount (
91- clientWithAccount ,
92- {
93- account : account . address ,
94- } ,
95- )
96- const count2 = await actions . nonce . getNonceKeyCount (
97- clientWithAccount ,
98- {
99- account : account2 . address ,
100- } ,
101- )
87+ const count1 = await actions . nonce . getNonceKeyCount ( clientWithAccount , {
88+ account : account . address ,
89+ } )
90+ const count2 = await actions . nonce . getNonceKeyCount ( clientWithAccount , {
91+ account : account2 . address ,
92+ } )
10293
10394 // Both should be 0 for fresh accounts
10495 expect ( count1 ) . toBe ( 0n )
0 commit comments