Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove barrel files from services collection (part 3) #3780

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
last test fixes
  • Loading branch information
nicholas-codecov committed Feb 26, 2025
commit 4a0d5fe64fbcd017ba2cb7fb128e5aecee2bf760
4 changes: 2 additions & 2 deletions src/pages/OwnerPage/OwnerPage.test.jsx
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ const mocks = vi.hoisted(() => ({
renderToast: vi.fn(),
}))

vi.mock('services/toast', async () => {
const actual = await vi.importActual('services/toast')
vi.mock('services/toast/renderToast', async () => {
const actual = await vi.importActual('services/toast/renderToast')
return {
...actual,
renderToast: mocks.renderToast,
4 changes: 2 additions & 2 deletions src/services/trial/useStartTrial.test.tsx
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@ const mocks = vi.hoisted(() => ({
renderToast: vi.fn(),
}))

vi.mock('services/toast', async () => {
const actual = await vi.importActual('services/toast')
vi.mock('services/toast/renderToast', async () => {
const actual = await vi.importActual('services/toast/renderToast')
return {
...actual,
renderToast: mocks.renderToast,