@@ -312,9 +312,7 @@ describe('SBT', () => {
312312 'This is a proof of service NFT, which indicates your contribution to the project' ,
313313 tokenURIImage :
314314 'https://i.guim.co.uk/img/media/ef8492feb3715ed4de705727d9f513c168a8b196/37_0_1125_675/master/1125.jpg?width=1200&height=1200&quality=85&auto=format&fit=crop&s=d456a2af571d980d8b2985472c262b31' ,
315- stringAttributes : [
316- { trait_type : 'Category' , value : 'Category A' } ,
317- ] ,
315+ stringAttributes : [ { trait_type : 'Category' , value : 'Category A' } ] ,
318316 numberAttributes : [
319317 {
320318 trait_type : 'No. of contributions' ,
@@ -347,7 +345,10 @@ describe('SBT', () => {
347345 expect ( decodedData . description ) . to . eq ( metadata . description )
348346 expect ( decodedData . image ) . to . eq ( metadata . tokenURIImage )
349347 expect ( decodedData . attributes . length ) . to . eq ( 2 )
350- expect ( decodedData . attributes [ 0 ] ) . to . deep . equal ( { trait_type : 'Category' , value : 'Category A' } )
348+ expect ( decodedData . attributes [ 0 ] ) . to . deep . equal ( {
349+ trait_type : 'Category' ,
350+ value : 'Category A' ,
351+ } )
351352 expect ( decodedData . attributes [ 1 ] ) . to . deep . equal ( {
352353 trait_type : 'No. of contributions' ,
353354 value : '1' ,
@@ -359,7 +360,7 @@ describe('SBT', () => {
359360 trait_type : 'No. of contributions' ,
360361 value : '1' ,
361362 display_type : 'number' ,
362- }
363+ } ,
363364 ] )
364365 } )
365366
@@ -448,16 +449,16 @@ describe('SBT', () => {
448449 { trait_type : 'Location' , value : 'Shibuya' } ,
449450 { trait_type : 'Entity' , value : 'Corporation' } ,
450451 {
451- trait_type : 'No. of contributions' ,
452- value : "1" ,
453- display_type : 'number' ,
454- } ,
455- {
456- trait_type : 'No. of locations' ,
457- value : " 1000" ,
458- display_type : 'number' ,
459- } ,
460- { trait_type : 'Gas fee used' , value : " 12342" , display_type : 'number' }
452+ trait_type : 'No. of contributions' ,
453+ value : '1' ,
454+ display_type : 'number' ,
455+ } ,
456+ {
457+ trait_type : 'No. of locations' ,
458+ value : ' 1000' ,
459+ display_type : 'number' ,
460+ } ,
461+ { trait_type : 'Gas fee used' , value : ' 12342' , display_type : 'number' } ,
461462 ] )
462463 } )
463464 } )
0 commit comments