Skip to content

fix: docker-test-suite missing test files#338

Merged
markin-io merged 2 commits into
masterfrom
fix/docker-test-suite
Apr 13, 2022
Merged

fix: docker-test-suite missing test files#338
markin-io merged 2 commits into
masterfrom
fix/docker-test-suite

Conversation

@strophy
Copy link
Copy Markdown
Collaborator

@strophy strophy commented Apr 9, 2022

Issue being fixed or feature implemented

docker run --rm -v ~/.env:/platform/packages/platform-test-suite/.env dashpay/platform-test-suite:0.22.1 yarn test:suite
throws:
Warning: Cannot find any files matching pattern "./test/**/*.spec.js"
And tests do not run

What was done?

This is caused by the .dockerignore file ignoring packages/*/test which incorrectly includes the tests which platform test suite needs to run. This was fixed by adding an exclusion rule.

How Has This Been Tested?

Tested in local builds

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@strophy strophy requested review from antouhou and shumkov as code owners April 9, 2022 05:54
@strophy strophy added this to the v0.23.0 milestone Apr 9, 2022
@strophy strophy force-pushed the fix/docker-test-suite branch from da291d3 to a936152 Compare April 9, 2022 05:55
@markin-io markin-io changed the base branch from v0.23-dev to master April 13, 2022 07:06
@markin-io markin-io changed the base branch from master to v0.23-dev April 13, 2022 07:07
@strophy strophy force-pushed the fix/docker-test-suite branch from a936152 to 152464d Compare April 13, 2022 07:27
@strophy strophy changed the base branch from v0.23-dev to master April 13, 2022 07:27
Copy link
Copy Markdown
Contributor

@markin-io markin-io left a comment

Choose a reason for hiding this comment

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

utACK

@markin-io markin-io merged commit 48a1551 into master Apr 13, 2022
@markin-io markin-io deleted the fix/docker-test-suite branch April 13, 2022 07:54
@markin-io markin-io changed the title fix: Cannot find any files matching pattern "./test/**/*.spec.js" fix: docker-test-suite missing test files Apr 13, 2022
@thephez
Copy link
Copy Markdown
Collaborator

thephez commented Apr 14, 2022

@strophy I see this is tagged v0.23, but was merged into master? Maybe the milestone should be removed/changed. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants