11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
|
'use strict';
|
||
|
|
||
|
import { __clear as clearApiMocks } from '../__mocks__/api';
|
||
|
|
||
|
// API mocking
|
||
|
jest.mock('soapbox/api');
|
||
|
afterEach(() => clearApiMocks());
|
||
|
|
||
|
// Mock external dependencies
|
||
|
jest.mock('uuid', () => ({ v4: jest.fn(() => 1) }));
|