Skip to content

Commit 5fe5bf9

Browse files
JPeer264claude
andcommitted
fixup! test(deno): Run all Node integration suites on Deno
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 588006b commit 5fe5bf9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • dev-packages/deno-integration-tests/node-suites

‎dev-packages/deno-integration-tests/node-suites/excludes.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,18 @@ const NO_FETCH_INSTRUMENTATION = [
3434
// In the ESM tests Deno cannot find `PrismaClient`, a CommonJS export of `@prisma/client`.
3535
const PRISMA_ESM_INTEROP = ['suites/tracing/prisma-orm-v5/test.ts', 'suites/tracing/prisma-orm-v6/test.ts'];
3636

37+
// In the CJS tests Deno cannot `require()` a dependency that ships only ES modules: `graphql` 17,
38+
// and `escape-string-regexp` under `mastra`. The ESM tests of `mastra` also check `fetch` spans.
39+
const REQUIRE_OF_ESM_ONLY_DEPENDENCY = ['suites/tracing/graphql-tracing-channel/**', 'suites/tracing/mastra/test.ts'];
40+
3741
// Some or all tests fail on Deno, cause not investigated yet. In most AI suites the span
3842
// streaming test fails. `apollo-graphql` (CJS tests only) and `mongodb` fail on Deno 2.8.3 (the CI
3943
// version) and pass on Deno 2.9.0.
4044
const NOT_TRIAGED = [
4145
'suites/tracing/anthropic/test.ts',
4246
'suites/tracing/apollo-graphql/**',
4347
'suites/tracing/fastify/test.ts',
48+
'suites/tracing/flue/test.ts',
4449
'suites/tracing/google-genai/test.ts',
4550
'suites/tracing/groq/test.ts',
4651
'suites/tracing/http-client-spans/http-strip-query/test.ts',
@@ -53,6 +58,7 @@ const NOT_TRIAGED = [
5358
'suites/tracing/mongoose-v5/test.ts',
5459
'suites/tracing/mysql/test.ts',
5560
'suites/tracing/openai/test.ts',
61+
'suites/tracing/openai/v7/test.ts',
5662
'suites/tracing/orchestrion-lazy-registration/test.ts',
5763
'suites/tracing/prisma-orm-v7/test.ts',
5864
'suites/tracing/together-ai/test.ts',
@@ -67,6 +73,7 @@ export const NODE_SUITES_EXCLUDE = [
6773
...NODE_ONLY,
6874
...NO_FETCH_INSTRUMENTATION,
6975
...PRISMA_ESM_INTEROP,
76+
...REQUIRE_OF_ESM_ONLY_DEPENDENCY,
7077
...NOT_TRIAGED,
7178
...FLAKY,
7279
];

0 commit comments

Comments
 (0)