Skip to content

Conversation

dynst
Copy link
Contributor

@dynst dynst commented Oct 14, 2025

*.spec.ts files are for unit tests and other frameworks like Vitest fail if there are 0 tests.

[@cosmjs/amino]:  FAIL  src/testutils.spec.ts [ src/testutils.spec.ts ]
[@cosmjs/amino]: Error: No test suite found in file /home/runner/work/cosmjs/cosmjs/packages/amino/src/testutils.spec.ts

Part of #1834.

The package.json "files" field had to be updated, but the exclusions could be removed after #1833 separates transpiling production code and transpiling test-only code (with different output directories).

dynst added 2 commits October 14, 2025 17:52
frameworks expect more than 0 unit tests to be in *.spec.ts fileS
so rename it to testutils.ts.
@webmaster128 webmaster128 merged commit 8442951 into cosmos:main Oct 15, 2025
13 checks passed
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.

2 participants