Download src/setupTests.js from reactkick/react: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/spaces/reactkick/react/resolve/main/src/setupTests.js
- Command line
-
hf download hf://spaces/reactkick/react/src/setupTests.js
-
curl -L -o setupTests.js https://huggingface.co/spaces/reactkick/react/resolve/main/src/setupTests.js
241 Bytes
| // 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'; | |