Reinaldy Rafli a9a914840f
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

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update _integration-test/test_01_basics.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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: "john@example.com",
url: "https://example.com",
});
Sentry.flush(5000);