Skip to content

test: change root-dir config to match all packages#37

Merged
4 commits merged into
alphafrom
fix-tests
Apr 23, 2020
Merged

test: change root-dir config to match all packages#37
4 commits merged into
alphafrom
fix-tests

Conversation

@ghost

@ghost ghost commented Apr 22, 2020

Copy link
Copy Markdown

A follow up to the discussion here: https://dhis2.slack.com/archives/CBM8LNEQM/p1587567537209200

Todo:

  • We're mixing __test__ and __tests__ dirs
  • On alpha we're only running tests in core and widgets due to our jest.config.js

Comment thread jest.config.js
@ghost
ghost marked this pull request as ready for review April 22, 2020 15:58
@ghost
ghost self-requested a review as a code owner April 22, 2020 15:58

@amcgee amcgee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine to me, @varl might have more insight since he did the original setup?

Related, if we wanted to run separate jest instances for each package and combine the coverage reports : jestjs/jest#2418

@amcgee

amcgee commented Apr 22, 2020

Copy link
Copy Markdown
Contributor

@ismay is the failing test unrelated?

@ghost

ghost commented Apr 22, 2020

Copy link
Copy Markdown
Author

@ismay is the failing test unrelated?

Those are tests that were broken somewhere, but that we didn't catch because we weren't running them. So related in a way, but not really.

@ghost
ghost merged commit ac2ccfd into alpha Apr 23, 2020
@ghost
ghost deleted the fix-tests branch April 23, 2020 08:35
@dhis2-bot

Copy link
Copy Markdown
Contributor

@dhis2-bot

Copy link
Copy Markdown
Contributor

eirikhaugstulen added a commit that referenced this pull request Apr 13, 2026
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Eirik <eirik.haugstulen@gmail.com>
eirikhaugstulen added a commit that referenced this pull request Apr 15, 2026
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Eirik <eirik.haugstulen@gmail.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants