From f8e697ce4dd28ba8899adacf2fa12e33f60b2194 Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Wed, 14 Jun 2023 10:49:40 +0200 Subject: feat: prepare jest upgrade and ts testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- __tests__/jest-setup.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 __tests__/jest-setup.ts (limited to '__tests__/jest-setup.ts') 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 + * + * @author François Freitag + * + * @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 . + * + */ + +import '@testing-library/jest-dom' -- cgit v1.2.3