Migrate React example app to react-scripts 5

Reviewed By: antonk52

Differential Revision: D35114197

fbshipit-source-id: 88b35b4d927d7eca099a62d9cf4319ffe3ecf423
This commit is contained in:
Andrey Goncharov
2022-03-24 09:32:00 -07:00
committed by Facebook GitHub Bot
parent 245d263c1e
commit df018ebdcb
13 changed files with 4754 additions and 6586 deletions

View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom';