-
Notifications
You must be signed in to change notification settings - Fork 59
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
aegir test --ts -t browser seems to fail #619
Comments
* fix: disable linter for types/types.spec.ts * fix: use custom eslintrc instead * fix: lint errors * chore: enable ts support for tests * fix: workaround ipfs/aegir#619
* chore(deps-dev): bump aegir from 22.1.0 to 25.0.0 Bumps [aegir](https://github.com/ipfs/aegir) from 22.1.0 to 25.0.0. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v22.1.0...v25.0.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * fix: use custom .eslintrc with different rules for .js and .ts (#141) * fix: disable linter for types/types.spec.ts * fix: use custom eslintrc instead * fix: lint errors * chore: enable ts support for tests * fix: workaround ipfs/aegir#619 Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Irakli Gozalishvili <[email protected]>
This also creates some blocking issues for running tests during release. ref multiformats/js-multiaddr#154 |
why are you using |
@hugomrdias here is the thread with the whole story |
the problem is mixing commonjs with ts, we only support full ts or full commonjs with jsdoc. |
testing types is done with |
Not sure I follow all this, but that file was added by multiformats/js-multiaddr#112 and from the pull it appears it was introduced to ensure exported types did type-check. Maybe with |
theres .d.ts tests (we can add support for that), but that is a separate thing. |
what we need in aegir is to not include .ts files in |
It appears that
aegir test --ts -t browser
fails with timeout whereageir test -t browser
does not:multiformats/js-multiaddr@5a4b2df
The text was updated successfully, but these errors were encountered: