Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-analytics-dashboards-plugin into Add_a_details_button_to_open_the_findings_flyout_from_the_correlations_page
  • Loading branch information
jovancvetkovic3006 committed May 3, 2023
2 parents 18b6a54 + 3d95270 commit f1f366a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
OPENSEARCH_DASHBOARDS_VERSION: 'main'
OPENSEARCH_VERSION: '3.0.0-SNAPSHOT'
SECURITY_ANALYTICS_BRANCH: 'main'
GRADLE_VERSION: '7.6.1'
jobs:
tests:
name: Run Cypress E2E tests
Expand Down Expand Up @@ -45,6 +46,11 @@ jobs:
repository: opensearch-project/security-analytics
ref: ${{ env.SECURITY_ANALYTICS_BRANCH }}

- name: Set up Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: ${{ env.GRADLE_VERSION }}

- name: Run opensearch with plugin
run: |
cd security-analytics
Expand Down
6 changes: 6 additions & 0 deletions test/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ module.exports = {
],
clearMocks: true,
testPathIgnorePatterns: ['<rootDir>/build/', '<rootDir>/node_modules/'],
transformIgnorePatterns: [
// ignore all node_modules except those which require babel transforms to
// handle newer syntax like `??=` which is not already transformed by the
// package and not yet supported in the node version we use.
'[/\\\\]node_modules(?![\\/\\\\](vega-lite))[/\\\\].+\\.js$',
],
modulePathIgnorePatterns: ['securityAnalyticsDashboards'],
testEnvironment: 'jsdom',
snapshotSerializers: ['enzyme-to-json/serializer'],
Expand Down

0 comments on commit f1f366a

Please sign in to comment.