mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
MOB-722: unneeded beforeall
This commit is contained in:
@@ -1,14 +1,9 @@
|
|||||||
import { screen } from "@testing-library/react-native";
|
import { screen } from "@testing-library/react-native";
|
||||||
import MatchHeader from "components/Match/MatchHeader";
|
import MatchHeader from "components/Match/MatchHeader";
|
||||||
import initI18next from "i18n/initI18next";
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import factory from "tests/factory";
|
import factory from "tests/factory";
|
||||||
import { renderComponent } from "tests/helpers/render";
|
import { renderComponent } from "tests/helpers/render";
|
||||||
|
|
||||||
beforeAll( async () => {
|
|
||||||
await initI18next();
|
|
||||||
} );
|
|
||||||
|
|
||||||
describe( "MatchHeader", () => {
|
describe( "MatchHeader", () => {
|
||||||
it( "does not render content when topSuggestion is not provided", () => {
|
it( "does not render content when topSuggestion is not provided", () => {
|
||||||
renderComponent( <MatchHeader /> );
|
renderComponent( <MatchHeader /> );
|
||||||
|
|||||||
Reference in New Issue
Block a user