aboutsummaryrefslogtreecommitdiffstats
path: root/__tests__
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-14 10:49:40 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-06-21 09:08:04 +0200
commitf8e697ce4dd28ba8899adacf2fa12e33f60b2194 (patch)
tree98951ba5640964212ec4350170a38cb83358a951 /__tests__
parent8b5ef98495597c11caba2ac1fea0416345ec2f0e (diff)
downloadnextcloud-server-f8e697ce4dd28ba8899adacf2fa12e33f60b2194.tar.gz
nextcloud-server-f8e697ce4dd28ba8899adacf2fa12e33f60b2194.zip
feat: prepare jest upgrade and ts testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '__tests__')
-rw-r--r--__tests__/jest-setup.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/__tests__/jest-setup.ts b/__tests__/jest-setup.ts
new file mode 100644
index 00000000000..c0813ff003f
--- /dev/null
+++ b/__tests__/jest-setup.ts
@@ -0,0 +1,23 @@
+/**
+ * @copyright 2021 François Freitag <mail@franek.fr>
+ *
+ * @author François Freitag <mail@franek.fr>
+ *
+ * @license AGPL-3.0-or-later
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+import '@testing-library/jest-dom'