@@ -226,17 +226,17 @@ describe('pricingInfoToString (complete mode)', () => {
226226 const out = pricingInfoToString ( multiTierPayPerEvent ) ;
227227 expect ( out ) . toBe (
228228 'This Actor is paid per event:\n'
229- + '\t - **Scraped place**: A Google Maps place scraped '
229+ + ' - **Scraped place**: A Google Maps place scraped '
230230 + '(FREE: $0.004, BRONZE: $0.004, SILVER: $0.003, '
231231 + 'GOLD: $0.0021, PLATINUM: $0.00126, DIAMOND: $0.00076 per event)\n'
232- + '\t - **Actor start**: Initial fee for starting the Actor ($0.00005 per event)' ,
232+ + ' - **Actor start**: Initial fee for starting the Actor ($0.00005 per event)' ,
233233 ) ;
234234 } ) ;
235235
236236 it ( 'E4: single-tier event renders as flat (no tier label)' , ( ) => {
237237 expect ( pricingInfoToString ( singleTierPayPerEvent ) ) . toBe (
238238 'This Actor is paid per event:\n'
239- + '\t - **Scraped place**: A Google Maps place scraped ($0.004 per event)' ,
239+ + ' - **Scraped place**: A Google Maps place scraped ($0.004 per event)' ,
240240 ) ;
241241 } ) ;
242242
@@ -420,16 +420,16 @@ describe('pricingInfoToSimplifiedString (simplified mode)', () => {
420420 it ( 'E2: user on GOLD — one price per event, pricingNote appended' , ( ) => {
421421 expect ( pricingInfoToSimplifiedString ( multiTierPayPerEvent , 'GOLD' ) ) . toBe (
422422 `This Actor is paid per event:\n`
423- + `\t - **Scraped place**: A Google Maps place scraped ($0.0021 per event)\n`
424- + `\t - **Actor start**: Initial fee for starting the Actor ($0.00005 per event)\n${
423+ + ` - **Scraped place**: A Google Maps place scraped ($0.0021 per event)\n`
424+ + ` - **Actor start**: Initial fee for starting the Actor ($0.00005 per event)\n${
425425 NOTE_GOLD } `,
426426 ) ;
427427 } ) ;
428428
429429 it ( 'E4: single-tier actor — flat price, no pricingNote' , ( ) => {
430430 expect ( pricingInfoToSimplifiedString ( singleTierPayPerEvent , 'GOLD' ) ) . toBe (
431431 'This Actor is paid per event:\n'
432- + '\t - **Scraped place**: A Google Maps place scraped ($0.004 per event)' ,
432+ + ' - **Scraped place**: A Google Maps place scraped ($0.004 per event)' ,
433433 ) ;
434434 } ) ;
435435
@@ -469,20 +469,20 @@ describe('pricingInfoToSimplifiedString (simplified mode)', () => {
469469 it ( 'omits pricingNote text when PAY_PER_EVENT events resolve to different tiers' , ( ) => {
470470 expect ( pricingInfoToSimplifiedString ( mixedTierPayPerEvent , 'GOLD' ) ) . toBe (
471471 'This Actor is paid per event:\n'
472- + '\t - **A**: ($0.005 per event)\n'
473- + '\t - **B**: ($0.02 per event)' ,
472+ + ' - **A**: ($0.005 per event)\n'
473+ + ' - **B**: ($0.02 per event)' ,
474474 ) ;
475475 } ) ;
476476
477477 it ( 'omits event descriptions in text when PAY_PER_EVENT has more than 5 events' , ( ) => {
478478 expect ( pricingInfoToSimplifiedString ( longPayPerEvent , 'FREE' ) ) . toBe (
479479 'This Actor is paid per event:\n'
480- + '\t - **Result**: $0.0037 per event\n'
481- + '\t - **Add-on: Date filter**: $0.0013 per event\n'
482- + '\t - **Add-on: Popularity filter**: $0.0013 per event\n'
483- + '\t - **Add-on: Follower / Following**: $0.004 per event\n'
484- + '\t - **Add-on: Search video sorting**: $0.0013 per event\n'
485- + `\t - **Actor start**: $0.001 per event\n${ EVENT_DESCRIPTIONS_OMITTED_NOTE } ` ,
480+ + ' - **Result**: $0.0037 per event\n'
481+ + ' - **Add-on: Date filter**: $0.0013 per event\n'
482+ + ' - **Add-on: Popularity filter**: $0.0013 per event\n'
483+ + ' - **Add-on: Follower / Following**: $0.004 per event\n'
484+ + ' - **Add-on: Search video sorting**: $0.0013 per event\n'
485+ + ` - **Actor start**: $0.001 per event\n${ EVENT_DESCRIPTIONS_OMITTED_NOTE } ` ,
486486 ) ;
487487 } ) ;
488488} ) ;
0 commit comments