remove not needed test dependencies

Signed-off-by: Katharina Sick <katharina.sick@dynatrace.com>
This commit is contained in:
Katharina Sick
2023-02-13 13:46:03 +01:00
parent bb3e4c3f8d
commit 0c1d0229aa
4 changed files with 4 additions and 10 deletions
-2
View File
@@ -78,7 +78,6 @@
"devDependencies": {
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@testing-library/jest-dom": "^5.16.5",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
"@types/express-session": "^1.17.2",
@@ -90,7 +89,6 @@
"@types/passport-saml": "^1.1.3",
"@types/passport-strategy": "^0.2.35",
"@types/xml2js": "^0.4.7",
"cross-fetch": "^3.1.5",
"msw": "^0.49.0",
"supertest": "^6.1.3"
},
@@ -15,7 +15,7 @@
*/
import * as helpers from '../../lib/passport/PassportStrategyHelper';
import { makeProfileInfo } from '../../lib/passport/PassportStrategyHelper';
import { makeProfileInfo } from '../../lib/passport';
import { AuthResolverContext } from '../types';
import {
bitbucketServer,
@@ -24,10 +24,9 @@ import {
} from './provider';
import { setupServer } from 'msw/node';
import { setupRequestMockHandlers } from '@backstage/test-utils';
import { fetch } from 'cross-fetch';
import { rest } from 'msw';
global.fetch = fetch;
global.fetch = require('node-fetch');
jest.mock('../../lib/passport/PassportStrategyHelper', () => {
return {
+1 -2
View File
@@ -14,5 +14,4 @@
* limitations under the License.
*/
import '@testing-library/jest-dom';
import 'cross-fetch/polyfill';
export {};