Remove uuid mock from Jest
This commit is contained in:
parent
96e320e478
commit
5297d8dde3
2 changed files with 0 additions and 5 deletions
|
@ -3,8 +3,6 @@ import React from 'react';
|
|||
import { render, screen } from '../../../../jest/test-helpers';
|
||||
import FormGroup from '../form-group';
|
||||
|
||||
jest.mock('uuid', () => jest.requireActual('uuid'));
|
||||
|
||||
describe('<FormGroup />', () => {
|
||||
it('connects the label and input', () => {
|
||||
render(
|
||||
|
|
|
@ -15,9 +15,6 @@ jest.mock('soapbox/queries/client');
|
|||
// https://dev.to/andyhaskell/testing-your-indexeddb-code-with-jest-2o17
|
||||
require('fake-indexeddb/auto');
|
||||
|
||||
// Mock external dependencies
|
||||
jest.mock('uuid', () => ({ v4: jest.fn(() => '1') }));
|
||||
|
||||
// Clear toasts after each test.
|
||||
afterEach(() => {
|
||||
toast.remove();
|
||||
|
|
Loading…
Reference in a new issue