Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kleisauke
Copy link
Contributor

Details
[...]

✖ JP2 output (29.6819ms)
ℹ Error: Test "JP2 Buffer to PNG Buffer" at test/unit/jp2.js:37:5 generated asynchronous activity after the test ended. This activity created the error "AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

4 !== 3
" and would have caused the test to fail, but instead triggered an unhandledRejection event.
ℹ Error: Test "Without chroma subsampling generates larger file" at test/unit/jp2.js:68:5 generated asynchronous activity after the test ended. This activity created the error "TypeError: done is not a function" and would have caused the test to fail, but instead triggered an uncaughtException event.
ℹ Error: Test "JP2 quality" at test/unit/jp2.js:52:5 generated asynchronous activity after the test ended. This activity created the error "TypeError: done is not a function" and would have caused the test to fail, but instead triggered an uncaughtException event.

[...]

✖ failing tests:

test at test/unit/jp2.js:111:5
✖ Invalid JP2 chromaSubsampling value throws error (1.115768ms)
  AssertionError [ERR_ASSERTION]: The input did not match the regular expression /Expected one of 4:2:0, 4:4:4 but received 4:2:2 of type string/. Input:
  
  'Error: Expected one of: 4:2:0, 4:4:4 for chromaSubsampling but received 4:2:2 of type string'

@lovell lovell merged commit 3609c61 into lovell:main Nov 15, 2025
31 checks passed
@lovell
Copy link
Owner

lovell commented Nov 15, 2025

Thanks Kleis!

@kleisauke kleisauke deleted the fix-jp2-test-suite branch November 15, 2025 11:12
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