[MM-52786] webapp/platform/client : Remove dev dependencies in favour of monorepo (#23393)
* init * Update setupTests.ts
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3b5e556e1c
Коммит
c894cd3f30
@@ -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
Обычный файл
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';
|
||||
Ссылка в новой задаче
Block a user