We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa13155 commit 697586bCopy full SHA for 697586b
packages/node/test/index.test.ts
@@ -186,13 +186,16 @@ describe('SentryNode', () => {
186
dsn,
187
integrations: [new ContextLines()],
188
});
189
- getCurrentHub().bindClient(new NodeClient(options));
+ const client = new NodeClient(options);
190
+ getCurrentHub().bindClient(client);
191
getCurrentScope().setTag('test', '1');
192
try {
193
throw new Error('test');
194
} catch (e) {
195
captureException(e);
196
}
197
+
198
+ void client.flush();
199
200
201
test('capture a linked exception with pre/post context', done => {
0 commit comments