1
0

jest-setup.ts 312 B

123456789101112
  1. /**
  2. * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. import '@testing-library/jest-dom'
  6. // Mock `window.location` with Jest spies and extend expect
  7. import 'jest-location-mock'
  8. // Mock `window.fetch` with Jest
  9. import 'jest-fetch-mock'