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
4 changes: 2 additions & 2 deletions packages/deno/test/mod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ Deno.test('App runs without errors', async _ => {
});

const output = await cmd.output();
assertEquals(output.success, true);

const td = new TextDecoder();
const outString = td.decode(output.stdout);
const errString = td.decode(output.stderr);
assertEquals(outString, 'App has started\n');
assertEquals(errString, '');
assertEquals(outString, 'App has started\n');

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test caught a problem I almost introduced (accessing process.env in server-utils), great! I re-ordered the assertions here to get more details when this fails, as it would otherwise fail on "true !== false" which is not super helpful, instead of failing on the error string assertion which actually told me the problem.

assertEquals(output.success, true);
});
2 changes: 1 addition & 1 deletion packages/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export { mysql2Integration } from './integrations/tracing/mysql2';
export { redisIntegration } from './integrations/tracing/redis';
export { postgresIntegration } from './integrations/tracing/postgres';
export { postgresJsIntegration } from './integrations/tracing/postgresjs';
export { prismaIntegration } from './integrations/tracing/prisma';
export { prismaIntegration } from '@sentry/server-utils';
export { hapiIntegration, setupHapiErrorHandler } from './integrations/tracing/hapi';
// eslint-disable-next-line typescript/no-deprecated
export { honoIntegration, setupHonoErrorHandler } from './integrations/tracing/hono';
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/integrations/tracing/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Integration } from '@sentry/core';
import { prismaIntegration } from '@sentry/server-utils';
import { instrumentSentryHttp } from '../http';
import { amqplibIntegration, instrumentAmqplib } from './amqplib';
import { anthropicAIIntegration, instrumentAnthropicAi } from './anthropic-ai';
Expand All @@ -23,7 +24,6 @@ import { instrumentMysql2, mysql2Integration } from './mysql2';
import { instrumentOpenAi, openAIIntegration } from './openai';
import { instrumentPostgres, postgresIntegration } from './postgres';
import { instrumentPostgresJs, postgresJsIntegration } from './postgresjs';
import { prismaIntegration } from './prisma';
import { instrumentRedis, redisIntegration } from './redis';
import { instrumentTedious, tediousIntegration } from './tedious';
import { instrumentVercelAi, vercelAIIntegration } from './vercelai';
Expand Down
236 changes: 0 additions & 236 deletions packages/node/src/integrations/tracing/prisma/index.ts

This file was deleted.

Loading
Loading