Skip to content

Commit

Permalink
re-enable x-pack integration tests for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
legrego committed Jun 11, 2020
1 parent 5fa1931 commit 74cff41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/scripts/jenkins_xpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ if [[ -z "$CODE_COVERAGE" ]] ; then
echo ""
echo ""

# echo " -> Running jest integration tests"
# cd "$XPACK_DIR"
# node scripts/jest_integration --ci --verbose
# echo ""
# echo ""
echo " -> Running jest integration tests"
cd "$XPACK_DIR"
node scripts/jest_integration --ci --verbose
echo ""
echo ""
else
echo " -> Running jest tests with coverage"
cd "$XPACK_DIR"
Expand Down
1 change: 1 addition & 0 deletions x-pack/dev-tools/jest/create_jest_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export function createJestConfig({ kibanaDirectory, rootDir, xPackKibanaDirector
`${kibanaDirectory}/src/dev/jest/setup/react_testing_library.js`,
],
testMatch: ['**/*.test.{js,ts,tsx}'],
testPathIgnorePatterns: ['integration_tests/'],
transform: {
'^.+\\.(js|tsx?)$': `${kibanaDirectory}/src/dev/jest/babel_transform.js`,
'^.+\\.html?$': 'jest-raw-loader',
Expand Down

0 comments on commit 74cff41

Please sign in to comment.