Merge branch 'main' into beta to resolve PR conflicts
This commit is contained in:
commit
49df433f20
1 changed files with 5 additions and 1 deletions
|
|
@ -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 />)
|
||||
|
|
|
|||
Loading…
Reference in a new issue