test: Move shared imports to setup.ts file

This commit is contained in:
regexowl 2024-07-08 16:30:09 +02:00 committed by Ondřej Ezr
parent 144832f2f8
commit a5f69a2559
22 changed files with 4 additions and 63 deletions

View file

@ -11,7 +11,6 @@ import {
} from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { rest } from 'msw';
import nodeFetch, { Request, Response } from 'node-fetch';
import {
enterBlueprintName,
@ -30,8 +29,6 @@ import {
verifyCancelButton,
} from '../../testUtils';
Object.assign(global, { fetch: nodeFetch, Request, Response });
const routes = [
{
path: 'insights/image-builder/*',