Skip to content

Commit d8bf84a

Browse files
committed
Formatting fix
1 parent 8e383a6 commit d8bf84a

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry(
3535
);
3636
```
3737

38+
<<<<<<< HEAD
39+
3840
## 10.6.0
3941

4042
### Important Changes
@@ -72,7 +74,10 @@ The Sentry Nuxt SDK is now considered stable and no longer in beta!
7274

7375
</details>
7476

75-
Work in this release was contributed by @Karibash. Thank you for your contribution!
77+
=======
78+
79+
> > > > > > > e3ba48da5f (Formatting fix)
80+
> > > > > > > Work in this release was contributed by @Karibash. Thank you for your contribution!
7681
7782
## 10.5.0
7883

packages/cloudflare/test/durableobject.test.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ describe('instrumentDurableObjectWithSentry', () => {
2323
return 'sync-result';
2424
}
2525
};
26-
const obj = Reflect.construct(instrumentDurableObjectWithSentry(vi.fn().mockReturnValue({}), testClass as any), []) as any;
26+
const obj = Reflect.construct(
27+
instrumentDurableObjectWithSentry(vi.fn().mockReturnValue({}), testClass as any),
28+
[],
29+
) as any;
2730
expect(obj.method).toBe(obj.method);
2831

2932
const result = obj.method();
@@ -37,7 +40,10 @@ describe('instrumentDurableObjectWithSentry', () => {
3740
return 'async-result';
3841
}
3942
};
40-
const obj = Reflect.construct(instrumentDurableObjectWithSentry(vi.fn().mockReturnValue({}), testClass as any), []) as any;
43+
const obj = Reflect.construct(
44+
instrumentDurableObjectWithSentry(vi.fn().mockReturnValue({}), testClass as any),
45+
[],
46+
) as any;
4147
expect(obj.asyncMethod).toBe(obj.asyncMethod);
4248

4349
const result = obj.asyncMethod();
@@ -97,7 +103,10 @@ describe('instrumentDurableObjectWithSentry', () => {
97103

98104
webSocketError() {}
99105
};
100-
const instrumented = instrumentDurableObjectWithSentry(vi.fn().mockReturnValue({ instrumentPrototypeMethods: true }), testClass as any);
106+
const instrumented = instrumentDurableObjectWithSentry(
107+
vi.fn().mockReturnValue({ instrumentPrototypeMethods: true }),
108+
testClass as any,
109+
);
101110
const obj = Reflect.construct(instrumented, []);
102111
for (const method_name of [
103112
'propertyFunction',

0 commit comments

Comments
 (0)