Fix test
This commit is contained in:
parent
6c03b6ddd3
commit
22294b8a6e
1 changed files with 5 additions and 1 deletions
|
@ -2,10 +2,14 @@ import React from 'react';
|
||||||
|
|
||||||
import { __stub } from 'soapbox/api';
|
import { __stub } from 'soapbox/api';
|
||||||
|
|
||||||
import { render, screen, waitFor } from '../../../../jest/test-helpers';
|
import { queryClient, render, screen, waitFor } from '../../../../jest/test-helpers';
|
||||||
import TrendsPanel from '../trends-panel';
|
import TrendsPanel from '../trends-panel';
|
||||||
|
|
||||||
describe('<TrendsPanel />', () => {
|
describe('<TrendsPanel />', () => {
|
||||||
|
beforeEach(() => {
|
||||||
|
queryClient.clear();
|
||||||
|
});
|
||||||
|
|
||||||
describe('with hashtags', () => {
|
describe('with hashtags', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
__stub((mock) => {
|
__stub((mock) => {
|
||||||
|
|
Loading…
Reference in a new issue