[MM-52786] webapp/platform/client : Remove dev dependencies in favour of monorepo (#23393)

* init

* Update setupTests.ts
Этот коммит содержится в:
M-ZubairAhmed
2023-05-18 02:21:11 +05:30
коммит произвёл GitHub
родитель 3b5e556e1c
Коммит c894cd3f30
4 изменённых файлов: 8 добавлений и 86 удалений

Просмотреть файл

@@ -7,5 +7,5 @@ module.exports = {
moduleNameMapper: {
'^@mattermost/types/(.*)$': '<rootDir>/../types/src/$1',
},
setupFiles: ['isomorphic-fetch'],
setupFiles: ['<rootDir>/src/setupTests.ts'],
};

Просмотреть файл

@@ -18,13 +18,7 @@
"directory": "webapp/platform/client"
},
"dependencies": {
"form-data": "4.0.0"
},
"devDependencies": {
"@babel/preset-typescript": "7.21.0",
"isomorphic-fetch": "3.0.0",
"jest": "*",
"nock": "*"
"form-data": "^4.0.0"
},
"peerDependencies": {
"@mattermost/types": "*",

4
webapp/platform/client/src/setupTests.ts Обычный файл
Просмотреть файл

@@ -0,0 +1,4 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import 'isomorphic-fetch';