summaryrefslogtreecommitdiff
path: root/src/setupTests.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-13 21:40:29 +0300
committereug-vs <eug-vs@keemail.me>2021-03-13 21:40:29 +0300
commit58c47725b9f2c171065b9e35cdbc0e4525ec7255 (patch)
treee29351810c0e35743f1fdbcc4f74f6352dceecaa /src/setupTests.ts
downloadcommercel-ui-58c47725b9f2c171065b9e35cdbc0e4525ec7255.tar.gz
Initialize project using Create React App
Diffstat (limited to 'src/setupTests.ts')
-rw-r--r--src/setupTests.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/setupTests.ts b/src/setupTests.ts
new file mode 100644
index 0000000..8f2609b
--- /dev/null
+++ b/src/setupTests.ts
@@ -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';