| … | … | @@ -529,11 +529,10 @@ test('provider landing page renders HTML', async (t) => { |
| 529 | 529 | const html = res.body |
| 530 | 530 | t.ok(html.includes('Test Coach')) |
| 531 | 531 | t.ok(html.includes('Test Session')) |
| 532 | | t.ok(html.includes('noble-ed25519.js')) |
| 533 | | t.ok(html.includes('noble-sha512.js')) |
| 534 | | t.ok(html.includes('identity.js')) |
| 535 | | t.ok(html.includes('app.js')) |
| 536 | | t.ok(html.includes('/test-coach/book/pkg_test1')) |
| 532 | t.ok(html.includes('identity.js'), 'should include identity.js') |
| 533 | t.ok(html.includes('app.js'), 'should include app.js') |
| 534 | t.ok(!html.includes('noble-ed25519.js'), 'should NOT include noble script tags (loaded dynamically)') |
| 535 | t.ok(html.includes('/test-coach/book/pkg_test1'), 'should link to booking page') |
| 537 | 536 | } finally { |
| 538 | 537 | await s.close() |
| 539 | 538 | } |
| … | … | @@ -551,9 +550,9 @@ test('booking page renders HTML', async (t) => { |
| 551 | 550 | |
| 552 | 551 | const html = res.body |
| 553 | 552 | t.ok(html.includes('Test Session')) |
| 554 | | t.ok(html.includes('noble-ed25519.js')) |
| 555 | | t.ok(html.includes('identity.js')) |
| 556 | | t.ok(html.includes('initBookingPage')) |
| 553 | t.ok(html.includes('identity.js'), 'should include identity.js') |
| 554 | t.ok(!html.includes('noble-ed25519.js'), 'should NOT include noble script tags') |
| 555 | t.ok(html.includes('initBookingPage'), 'should call initBookingPage') |
| 557 | 556 | } finally { |
| 558 | 557 | await s.close() |
| 559 | 558 | } |