mock mock mock !
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 57m50s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 57m50s
This commit is contained in:
@@ -4,6 +4,9 @@ import { render, screen, fireEvent } from '@testing-library/react';
|
||||
import { describe, it, expect, vi, beforeEach } from 'vitest';
|
||||
import { WhatsNewModal } from './WhatsNewModal';
|
||||
|
||||
// Unmock the component to test the real implementation
|
||||
vi.unmock('./WhatsNewModal');
|
||||
|
||||
describe('WhatsNewModal', () => {
|
||||
const mockOnClose = vi.fn();
|
||||
const defaultProps = {
|
||||
|
||||
Reference in New Issue
Block a user