@@ -312,9 +312,7 @@ describe('SBT', () => {
312
312
'This is a proof of service NFT, which indicates your contribution to the project' ,
313
313
tokenURIImage :
314
314
'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' } ] ,
318
316
numberAttributes : [
319
317
{
320
318
trait_type : 'No. of contributions' ,
@@ -347,7 +345,10 @@ describe('SBT', () => {
347
345
expect ( decodedData . description ) . to . eq ( metadata . description )
348
346
expect ( decodedData . image ) . to . eq ( metadata . tokenURIImage )
349
347
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
+ } )
351
352
expect ( decodedData . attributes [ 1 ] ) . to . deep . equal ( {
352
353
trait_type : 'No. of contributions' ,
353
354
value : '1' ,
@@ -359,7 +360,7 @@ describe('SBT', () => {
359
360
trait_type : 'No. of contributions' ,
360
361
value : '1' ,
361
362
display_type : 'number' ,
362
- }
363
+ } ,
363
364
] )
364
365
} )
365
366
@@ -448,16 +449,16 @@ describe('SBT', () => {
448
449
{ trait_type : 'Location' , value : 'Shibuya' } ,
449
450
{ trait_type : 'Entity' , value : 'Corporation' } ,
450
451
{
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' } ,
461
462
] )
462
463
} )
463
464
} )
0 commit comments