Skip to content

Commit 1245e91

Browse files
authored
fix(integrations): Fix transaction integration (#9334)
This was not covered well by our tests 😬 oops... Fixes #9332
1 parent 07b4c76 commit 1245e91

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/integrations/src/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Transaction implements Integration {
2525

2626
/** @inheritDoc */
2727
public processEvent(event: Event): Event {
28-
return this.processEvent(event);
28+
return this.process(event);
2929
}
3030

3131
/**

packages/integrations/test/transaction.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const transaction: Transaction = new Transaction();
55
describe('Transaction', () => {
66
describe('extracts info from module/function of the first `in_app` frame', () => {
77
it('using module only', () => {
8-
const event = transaction.process({
8+
const event = transaction.processEvent({
99
exception: {
1010
values: [
1111
{
@@ -31,7 +31,7 @@ describe('Transaction', () => {
3131
});
3232

3333
it('using function only', () => {
34-
const event = transaction.process({
34+
const event = transaction.processEvent({
3535
exception: {
3636
values: [
3737
{
@@ -57,7 +57,7 @@ describe('Transaction', () => {
5757
});
5858

5959
it('using module and function', () => {
60-
const event = transaction.process({
60+
const event = transaction.processEvent({
6161
exception: {
6262
values: [
6363
{
@@ -85,7 +85,7 @@ describe('Transaction', () => {
8585
});
8686

8787
it('using default', () => {
88-
const event = transaction.process({
88+
const event = transaction.processEvent({
8989
exception: {
9090
values: [
9191
{
@@ -109,7 +109,7 @@ describe('Transaction', () => {
109109
});
110110

111111
it('no value with no `in_app` frame', () => {
112-
const event = transaction.process({
112+
const event = transaction.processEvent({
113113
exception: {
114114
values: [
115115
{

0 commit comments

Comments
 (0)