refactor(test-utils): rename setupRequestMockHandlers to setupMswHandler

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-07-10 13:28:48 +02:00
parent 2414d86668
commit 95a3a0b91c
96 changed files with 285 additions and 244 deletions
@@ -16,7 +16,7 @@
import { setupServer } from 'msw/node';
import { rest } from 'msw';
import { setupRequestMockHandlers } from '@backstage/test-utils';
import { setupMswHandlers } from '@backstage/test-utils';
import {
getManifestByReleaseLine,
getManifestByVersion,
@@ -25,7 +25,7 @@ import {
describe('Release Manifests', () => {
const worker = setupServer();
setupRequestMockHandlers(worker);
setupMswHandlers(worker);
describe('getManifestByVersion', () => {
it('should return a list of packages in a release', async () => {