commit | a32fc2c715df6709959ee3a87adccc07f184c47f | [log] [tgz] |
---|---|---|
author | 956303669 <956303669@qq.com> | Mon Jun 02 19:45:53 2025 +0800 |
committer | ssq <3462334672@qq.com> | Mon Jun 02 13:04:04 2025 +0000 |
tree | f45f692629f7afe5c0e7ef82e86dc4ae224bc00f | |
parent | c69af0af8f10418579ee50f9c26f742a84650bcf [diff] [blame] | |
parent | 3730053d0f150793b0f8052a311c066b123834ae [diff] [blame] |
前端页面提交 Change-Id: I096c8538ded26791a94a46d8f27b0307dbfb8300
diff --git a/front/src/setupTests.js b/front/src/setupTests.js new file mode 100644 index 0000000..8f2609b --- /dev/null +++ b/front/src/setupTests.js
@@ -0,0 +1,5 @@ +// 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';