diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 6a406fb4..9b4551dd 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -19,4 +19,4 @@ This document contains a list of maintainers in this repo. See [opensearch-proje | Yaliang | [ylwu-amzn](https://github.com/ylwu-amzn) | Amazon | | Yizhe Liu | [yizheliu-amazon](https://github.com/yizheliu-amazon) | Amazon | | Vijayan Balasubramanian | [VijayanB](https://github.com/VijayanB) | Amazon | -| Sarat Vemulapalli | [saratvemulapalli](https://github.com/saratvemulapalli) | Amazon | +| Sarat Vemulapalli | [saratvemulapalli](https://github.com/saratvemulapalli) | Amazon | \ No newline at end of file diff --git a/public/pages/utils/__tests__/anomalyResultUtils.test.ts b/public/pages/utils/__tests__/anomalyResultUtils.test.ts index 914c4c1f..cbd73c5b 100644 --- a/public/pages/utils/__tests__/anomalyResultUtils.test.ts +++ b/public/pages/utils/__tests__/anomalyResultUtils.test.ts @@ -12,16 +12,9 @@ import { getFeatureMissingDataAnnotations, getFeatureDataPointsForDetector, - parsePureAnomalies, } from '../anomalyResultUtils'; import { getRandomDetector } from '../../../redux/reducers/__tests__/utils'; -import { - UNITS, - Detector, - FeatureAttributes, - AnomalyData, -} from '../../../models/interfaces'; -import { ANOMALY_RESULT_SUMMARY, PARSED_ANOMALIES } from './constants'; +import { UNITS, Detector, FeatureAttributes } from '../../../models/interfaces'; describe('anomalyResultUtils', () => { let randomDetector_20_min: Detector; @@ -570,13 +563,4 @@ describe('anomalyResultUtils', () => { ).toEqual([]); }); }); - - describe('parsePureAnomalies()', () => { - test('parse anomalies', async () => { - const parsedPureAnomalies: AnomalyData[] = await parsePureAnomalies( - ANOMALY_RESULT_SUMMARY - ); - expect(parsedPureAnomalies).toStrictEqual(PARSED_ANOMALIES); - }); - }); -}); +}); \ No newline at end of file diff --git a/test/jest.config.js b/test/jest.config.js index 242924cc..70c3a53f 100644 --- a/test/jest.config.js +++ b/test/jest.config.js @@ -44,14 +44,4 @@ module.exports = { testPathIgnorePatterns: ['/build/', '/node_modules/'], transformIgnorePatterns: ['/node_modules'], globalSetup: '/global-setup.js', - - /** - * This configuration specifies different file extensions - * and the corresponding transformers to be used - */ - transform: { - '\\.[jt]sx?$': 'babel-jest', - '^.+\\.svg$': '/test/mocks/transformMock.ts', - '^.+\\.html$': '/test/mocks/transformMock.ts', - }, -}; +}; \ No newline at end of file