Files
sentinel/_integration-test/nodejs/user-feedback.js
63b7f6e13c test: integration test for user feedback (#3880)
* test: integration test for user feedback

* fix(test): try to set shell to True to use environment variables

* chore: debug nodejs sdk output

* test: run user feedback test only on feature-complete

* test: make javascript file relative

* Update _integration-test/nodejs/package.json

* Update _integration-test/test_01_basics.py

---------

Co-authored-by: Hanzo Dev <[email protected]>
2025-12-07 12:06:58 +07:00

12 lines
214 B
JavaScript

import * as Sentry from "@sentry/node";
Sentry.captureFeedback({
message: "I love your startup!",
name: "John Doe",
email: "[email protected]",
url: "https://example.com",
});
Sentry.flush(5000);