Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ afterAll(() => {

test('should record client report for beforeSend', done => {
createRunner(__dirname, 'scenario.ts')
.unignore('client_report')
.expect({
client_report: {
discarded_events: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ afterAll(() => {

test('should record client report for event processors', done => {
createRunner(__dirname, 'scenario.ts')
.unignore('client_report')
.expect({
client_report: {
discarded_events: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ afterAll(() => {

test('should flush client reports automatically after the timeout interval', done => {
createRunner(__dirname, 'scenario.ts')
.unignore('client_report')
.expect({
client_report: {
discarded_events: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ test('outgoing http requests are correctly instrumented when not sampled', done
.then(([SERVER_URL, closeTestServer]) => {
createRunner(__dirname, 'scenario.ts')
.withEnv({ SERVER_URL })
.ignore('client_report')
.expect({
event: {
exception: {
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/node-integration-tests/utils/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export function createRunner(...paths: string[]) {
let expectedEnvelopeHeaders: ExpectedEnvelopeHeader[] | undefined = undefined;
const flags: string[] = [];
// By default, we ignore session & sessions
const ignored: Set<EnvelopeItemType> = new Set(['session', 'sessions']);
const ignored: Set<EnvelopeItemType> = new Set(['session', 'sessions', 'client_report']);
let withEnv: Record<string, string> = {};
let withSentryServer = false;
let dockerOptions: DockerOptions | undefined;
Expand Down
Loading