From c19768fc985d790f1bfb56026956c5e62eef4f25 Mon Sep 17 00:00:00 2001 From: Valentin Dimitroff <26602880+ValentinnDimitroff@users.noreply.github.com> Date: Fri, 25 Mar 2022 22:34:55 +0200 Subject: [PATCH] Add missing import --- docs/UnitTesting.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/UnitTesting.md b/docs/UnitTesting.md index c1209df0995..fab32073530 100644 --- a/docs/UnitTesting.md +++ b/docs/UnitTesting.md @@ -99,6 +99,7 @@ Here is an example with Jest and TestingLibrary, which is testing the [`UserShow // UserShow.spec.js import * as React from "react"; import { render } from '@testing-library/react'; +import { TestContext } from 'ra-test'; import { Tab, TextField } from 'react-admin'; import UserShow from './UserShow';