We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running "jest --coverage" throws an error when the Parser contains 'formatter'
The text was updated successfully, but these errors were encountered:
I am seeing the same error without using formatter, but still using array. Perhaps the issue stems from the Parser contains 'array'
Sorry, something went wrong.
can use istanbul ignore, has to do with eval and such
parser: new Parser() .uint8('compressionMethod', { formatter: /* istanbul ignore next */ b => { const method = [ 'raw', 'gzip', 'bzip2', 'lzma', 'rans', 'rans4x16', 'arith', 'fqzcomp', 'tok3', ][b] if (!method) { throw new Error(`compression method number ${b} not implemented`) } return method }, })
No branches or pull requests
Running "jest --coverage" throws an error when the Parser contains 'formatter'
The text was updated successfully, but these errors were encountered: