How to properly add XML support #1335
-
I need to validate XML responses with Bruno CLI. I've added the dependencies: "dependencies": {
"@usebruno/cli": "^1.3.0",
"xml2js": "^0.6.2"
} When I run test:
I've got a message: Cannot find module 'events' Full message: The GitHub repository: Failing run: |
Beta Was this translation helpful? Give feedback.
Answered by
helloanoop
Jan 5, 2024
Replies: 1 comment 1 reply
-
You need to whitelist the nodejs
{
"scripts": {
"moduleWhitelist": [
"events"
]
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rabestro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@rabestro
You need to whitelist the nodejs
events
module.Can you add this and try in your package.json
bruno.json