Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make the test suite properties path configurable #204

Commits on Apr 5, 2022

  1. feat: make the test suite properties path configurable

    Make it possible to configure the path to test suite properties. The
    default path will still be in the current working directory.
    
    Example configuration:
    
    ```
        [
          'jest-junit',
          {
            testSuitePropertiesFile: 'test-properties.js',
            testSuitePropertiesDirectory: '<rootDir>/config',
          },
        ],
    ```
    JohanBrorson committed Apr 5, 2022
    Copy the full SHA
    0dfdb9d View commit details
    Browse the repository at this point in the history
  2. docs: update configuration options in readme

    Add `testSuitePropertiesFile` and `testSuitePropertiesDirectory`
    configuration options to `README.md`.
    JohanBrorson committed Apr 5, 2022
    Copy the full SHA
    0041247 View commit details
    Browse the repository at this point in the history
  3. fix: restore all mocks between tests

    Restore all mocks between tests in `buildJsonResults.test.js` to ensure
    that it works with Jest 24.
    JohanBrorson committed Apr 5, 2022
    Copy the full SHA
    a15a3fb View commit details
    Browse the repository at this point in the history