getappmap / appmap-node

AppMap client agent for Node.js
Other
9 stars 4 forks source link

appmap-node doesn't produce any recording result when used for Tests. It only produces the following result. #148

Closed joneldominic closed 4 months ago

joneldominic commented 4 months ago

image

joneldominic commented 4 months ago

This issue was resolve.

Please note, that if your modifying NODE_OPTIONS , don't forget to add appmap-node after it.

For example:

Before:

"test": "cross-env NODE_PATH=./src NODE_ENV=test NODE_OPTIONS='--max-old-space-size=2048' jest --config .jestrc.json"

After:

"test:appmap": "cross-env NODE_PATH=./src NODE_ENV=test NODE_OPTIONS='--max-old-space-size=2048' appmap-node jest --config .jestrc.json"