Download Amazon-clone/src/setupTests.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Amazon-clone/src/setupTests.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Amazon-clone/src/setupTests.js
-
curl -L -o setupTests.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Amazon-clone/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'; | |