Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix unit test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yizheliu-amazon committed Apr 3, 2020
1 parent 716fba1 commit 5a5574a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ module.exports = {
plugins: [
require('@babel/plugin-proposal-class-properties'),
require('@babel/plugin-proposal-object-rest-spread'),
["@babel/transform-runtime"]
],
};
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* permissions and limitations under the License.
*/

import 'babel-polyfill';
import { resolve } from 'path';
import { existsSync } from 'fs';
import { ADPlugin } from './server/plugin';
Expand All @@ -24,7 +25,8 @@ export default kibana => {
uiExports: {
app: {
title: 'Open Distro for Elasticsearch Anomaly Detection Kibana plugin',
description: 'Open Distro for Elasticsearch Anomaly Detection Kibana plugin',
description:
'Open Distro for Elasticsearch Anomaly Detection Kibana plugin',
main: 'plugins/opendistro-anomaly-detection/app',
icon:
'plugins/opendistro-anomaly-detection/images/anomaly_detection_icon.svg',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
Expand Down Expand Up @@ -75,6 +74,7 @@
"formik": "^1.5.8",
"query-string": "^6.8.2",
"react-redux": "^7.1.0",
"reselect": "^4.0.0"
"reselect": "^4.0.0",
"babel-polyfill": "^6.26.0"
}
}

0 comments on commit 5a5574a

Please sign in to comment.