forked from mattermost/mattermost-plugin-msteams
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'epic-ui' of s.github.com:Brightscout/mattermost-plugin-…
…msteams-sync into MI-3832
- Loading branch information
Showing
95 changed files
with
5,974 additions
and
1,650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ bin/ | |
|
||
node_modules | ||
|
||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// https://react-svgr.com/docs/jest/ | ||
export default 'SvgrURL'; | ||
export const ReactComponent = 'div'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. | ||
// See LICENSE.txt for license information. | ||
|
||
const config = { | ||
presets: [ | ||
['@babel/preset-env', { | ||
targets: { | ||
chrome: 66, | ||
firefox: 60, | ||
}, | ||
modules: false, | ||
corejs: 3, | ||
debug: false, | ||
useBuiltIns: 'usage', | ||
shippedProposals: true, | ||
}], | ||
['@babel/preset-react', { | ||
useBuiltIns: true, | ||
}], | ||
['@babel/typescript', { | ||
allExtensions: true, | ||
isTSX: true, | ||
}], | ||
], | ||
plugins: [ | ||
'@babel/plugin-proposal-class-properties', | ||
'@babel/plugin-syntax-dynamic-import', | ||
'@babel/plugin-proposal-optional-chaining', | ||
'babel-plugin-typescript-to-proptypes', | ||
], | ||
}; | ||
|
||
// Jest needs module transformation | ||
config.env = { | ||
test: { | ||
presets: config.presets, | ||
plugins: config.plugins, | ||
}, | ||
}; | ||
|
||
// Refer for more information: https://babeljs.io/docs/babel-preset-env#modules | ||
config.env.test.presets[0][1].modules = 'auto'; | ||
|
||
module.exports = config; |
Oops, something went wrong.