refactor(test-utils): deprecate the isDockerDisabledForTests function

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-07-10 12:53:32 +02:00
parent 95a3a0b91c
commit b82aff92aa
106 changed files with 329 additions and 272 deletions
@@ -21,14 +21,14 @@ import {
IdentityApi,
StorageApi,
} from '@backstage/core-plugin-api';
import { MockFetchApi, setupMswHandlers } from '@backstage/test-utils';
import { MockFetchApi, registerMswTestHooks } from '@backstage/test-utils';
import { rest } from 'msw';
import { setupServer } from 'msw/node';
import { UserSettingsStorage } from './UserSettingsStorage';
describe('Persistent Storage API', () => {
const server = setupServer();
setupMswHandlers(server);
registerMswTestHooks(server);
const mockBaseUrl = 'http://backstage:9191/api';
const mockErrorApi = { post: jest.fn(), error$: jest.fn() };