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

ユニットテストで警告が出る #9767

Closed
syuilo opened this issue Feb 2, 2023 · 0 comments · Fixed by #9894
Closed

ユニットテストで警告が出る #9767

syuilo opened this issue Feb 2, 2023 · 0 comments · Fixed by #9894
Labels
🐛Bug Unexpected behavior 🛠️Dev Development of Misskey itself 🔥high priority

Comments

@syuilo
Copy link
Member

syuilo commented Feb 2, 2023

💡 Summary

image

🥰 Expected Behavior

🤬 Actual Behavior

📝 Steps to Reproduce

📌 Environment

Misskey version:
Your OS:
Your browser:

@syuilo syuilo added 🐛Bug Unexpected behavior 🛠️Dev Development of Misskey itself 🔥high priority labels Feb 2, 2023
@syuilo syuilo changed the title ユニットテストが動作しない ユニットテストでエラーが出る Feb 2, 2023
@syuilo syuilo changed the title ユニットテストでエラーが出る ユニットテストで警告が出る Feb 2, 2023
saschanaz added a commit to saschanaz/misskey that referenced this issue Feb 11, 2023
Fixes misskey-dev#9767

Undici [tries to import `./llhttp/llhttp.wasm.js`](https://github.com/nodejs/undici/blob/e155c6db5cec9bc577d548fa7c7378013631c79c/lib/client.js#L342) which is currently broken by the (hacky) module name mapper.
saschanaz added a commit to saschanaz/misskey that referenced this issue Feb 12, 2023
Fixes misskey-dev#9767

Undici [tries to import `./llhttp/llhttp.wasm.js`](https://github.com/nodejs/undici/blob/e155c6db5cec9bc577d548fa7c7378013631c79c/lib/client.js#L342) which is currently broken by the (hacky) module name mapper.
syuilo added a commit that referenced this issue Feb 12, 2023
* Fix moduleNameMapper to not resolve `.wasm.js` to `.js`

Fixes #9767

Undici [tries to import `./llhttp/llhttp.wasm.js`](https://github.com/nodejs/undici/blob/e155c6db5cec9bc577d548fa7c7378013631c79c/lib/client.js#L342) which is currently broken by the (hacky) module name mapper.

* longer timeout value

* 30s

* 50s

* 60s to be safe

* Revert "60s to be safe"

This reverts commit f3e0f57.

* 2cc9822 revert?

* revert

* remove timeout

* detectOpenHandles

* Really solved?

* Revert "detectOpenHandles"

This reverts commit 29214bd.

* Add `coveragePathIgnorePatterns`

* Revert "Add `coveragePathIgnorePatterns`"

This reverts commit fcf8c68.

* Import jsonld dynamically

* remove import

* add comment

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior 🛠️Dev Development of Misskey itself 🔥high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant