Create jest-preset-graylog package to centralize and share basic jest configuration#9548
Merged
dennisoelkers merged 5 commits intomasterfrom Nov 20, 2020
Merged
Create jest-preset-graylog package to centralize and share basic jest configuration#9548dennisoelkers merged 5 commits intomasterfrom
dennisoelkers merged 5 commits intomasterfrom
Conversation
… configuration This package contains the basic jest configuration and all dependencies which are required to setup the test environment in the core repo and plugins. Please note, there are currently still some parts like moduleNameMapper which need to be configured inside each plugin. This will may change in the future.
079dd24 to
d5e0cd8
Compare
dennisoelkers
approved these changes
Nov 20, 2020
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please merge this PR together with the related enterprise PR
Description
This PR creates a package which contains the basic jest configuration and all dependencies which are required to setup the test environment in the core repo and plugins.
The package is a dependency of the
graylog-web-pluginand can be used as a preset:Jest config options can be added in each project, if necessary.
Please note, there are currently still some parts like
moduleNameMapperwhich need to be configured inside each plugin.Types of changes
/jenkins-pr-deps Graylog2/graylog-plugin-enterprise#1935