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 2c408f3 commit 0638df5Copy full SHA for 0638df5
packages/node/test/index.test.ts
@@ -196,7 +196,8 @@ describe('SentryNode', () => {
196
dsn,
197
integrations: [new ContextLines()],
198
});
199
- getCurrentHub().bindClient(new NodeClient(options));
+ const client = new NodeClient(options);
200
+ getCurrentHub().bindClient(client);
201
configureScope((scope: Scope) => {
202
scope.setTag('test', '1');
203
@@ -205,6 +206,8 @@ describe('SentryNode', () => {
205
206
} catch (e) {
207
captureException(e);
208
}
209
+
210
+ void client.flush();
211
212
213
test('capture a linked exception with pre/post context', done => {
0 commit comments