Merge branch 'main' into beta to resolve PR conflicts
All checks were successful
Beta CI/CD Pipeline / build-and-test (push) Successful in 1m21s
Beta CI/CD Pipeline / deploy-beta (push) Successful in 29s

This commit is contained in:
vickytechkey 2026-09-09 19:39:56 +05:30
commit 49df433f20

View file

@ -1,5 +1,5 @@
import { render, screen, fireEvent } from '@testing-library/react'
import { describe, it, expect, vi, beforeAll } from 'vitest'
import { describe, it, expect, vi, beforeAll, beforeEach } from 'vitest'
import App from './App'
// Mock window.scrollTo and fetch since jsdom does not implement them
@ -47,6 +47,10 @@ beforeAll(() => {
})
})
beforeEach(() => {
localStorage.clear()
})
describe('Supplier Portal Onboarding & Active Dashboard Tests', () => {
it('renders landing page with correct primary titles', () => {
render(<App />)