aboutsummaryrefslogtreecommitdiffstats
path: root/__tests__/jest-setup.ts
blob: 7ee7b7dcac8a64d615badeac43ceffa9f8eb384b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

import '@testing-library/jest-dom'

// Mock `window.location` with Jest spies and extend expect
import 'jest-location-mock'

// Mock `window.fetch` with Jest
import 'jest-fetch-mock'