@@ -68,7 +68,7 @@ describe('SurfaceActStream', () => {
6868
6969 it ( 'renders embedded DID and URN identifiers in monospace spans' , async ( ) => {
7070 const assertion =
71- 'Credential issued by did:pkh:…cosmos1s7u…texh8c for subject urn:axone:testnet:subject:gh29632273325a1 -1.'
71+ 'Credential issued by did:pkh:…cosmos1s7u…texh8c for subject urn:axone:te…23a1 -1.'
7272 const wrapper = mount ( SurfaceActLine , {
7373 props : {
7474 act : { ...makeAct ( 'TX-DID' , 1 , 'axone1issuer' ) , assertion } ,
@@ -84,7 +84,7 @@ describe('SurfaceActStream', () => {
8484 const identifiers = wrapper . findAll ( '.surface-act-identifier' )
8585 expect ( identifiers . map ( ( identifier ) => identifier . text ( ) ) ) . toEqual ( [
8686 'did:pkh:…cosmos1s7u…texh8c' ,
87- 'urn:axone:testnet:subject:gh29632273325a1 -1' ,
87+ 'urn:axone:te…23a1 -1' ,
8888 ] )
8989 expect ( wrapper . get ( '.surface-act-inscription' ) . text ( ) ) . toBe ( assertion )
9090 } )
@@ -120,27 +120,23 @@ describe('SurfaceActStream', () => {
120120 verdict : 'gov:permitted' ,
121121 } ,
122122 } ,
123- expected : [
124- 'decisionn° 1' ,
125- 'constitution r. 3 · 8C11A47D…B2903E12' ,
126- 'verdictgov:permitted' ,
127- ] ,
123+ expected : [ 'decisionn° 1' , 'constitution r. 3 · 8C11A47D…B2903E12' , 'verdictgov:permitted' ] ,
128124 } ,
129125 {
130126 act : {
131127 ...makeAct ( 'TX-CRED-ISS' , 1 , 'axone1authority' ) ,
132128 kind : 'credential.issued' ,
133129 payload : { identifier : credentialId } ,
134130 } ,
135- expected : [ 'credentialCRED-1234567... ABCDEF' ] ,
131+ expected : [ 'credentialCRED-1234567… ABCDEF' ] ,
136132 } ,
137133 {
138134 act : {
139135 ...makeAct ( 'TX-CRED-REVK' , 1 , 'axone1authority' ) ,
140136 kind : 'credential.revoked' ,
141137 payload : { identifier : credentialId } ,
142138 } ,
143- expected : [ 'credentialCRED-1234567... ABCDEF' ] ,
139+ expected : [ 'credentialCRED-1234567… ABCDEF' ] ,
144140 } ,
145141 ]
146142
@@ -178,7 +174,7 @@ describe('SurfaceActStream', () => {
178174 } )
179175
180176 const transactionValue = wrapper . get ( '.surface-act-tx-value' )
181- expect ( transactionValue . text ( ) ) . toBe ( '34BB1E16A405...8A931F ' )
177+ expect ( transactionValue . text ( ) ) . toBe ( '34BB1E16…EF8A931F ' )
182178 expect ( transactionValue . element . tagName ) . toBe ( 'SPAN' )
183179 expect ( transactionValue . attributes ( 'href' ) ) . toBeUndefined ( )
184180 const explorerButton = wrapper . get ( '.surface-act-explorer' )
0 commit comments