Title: `SuiteContext` missing `fullName` property that exists at runtime · Issue #60757 · nodejs/node · GitHub
Open Graph Title: `SuiteContext` missing `fullName` property that exists at runtime · Issue #60757 · nodejs/node
X Title: `SuiteContext` missing `fullName` property that exists at runtime · Issue #60757 · nodejs/node
Description: Affected URL(s) https://nodejs.org/docs/latest-v24.x/api/test.html#class-suitecontext Description of the problem It seems that fullName exists at runtime for SuiteContext but it is missing from the docs. I tested this with a plethora of ...
Open Graph Description: Affected URL(s) https://nodejs.org/docs/latest-v24.x/api/test.html#class-suitecontext Description of the problem It seems that fullName exists at runtime for SuiteContext but it is missing from the...
X Description: Affected URL(s) https://nodejs.org/docs/latest-v24.x/api/test.html#class-suitecontext Description of the problem It seems that fullName exists at runtime for SuiteContext but it is missing from the...
Opengraph URL: https://github.com/nodejs/node/issues/60757
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`SuiteContext` missing `fullName` property that exists at runtime","articleBody":"### Affected URL(s)\n\nhttps://nodejs.org/docs/latest-v24.x/api/test.html#class-suitecontext\n\n### Description of the problem\n\nIt seems that `fullName` exists at runtime for `SuiteContext` but it is missing from the docs.\n\nI tested this with a plethora of examples:\n\n```js\nimport { suite, test, before, after } from 'node:test';\nimport { setTimeout as sleep } from 'node:timers/promises';\n\nbefore((ctx) =\u003e {\n\tconsole.log(`outer before name: ${ctx.name}`)\n\tconsole.log(`outer before file name: ${ctx.filePath}`)\n\tconsole.log(`outer before full name: ${ctx.fullName}`)\n});\n\nafter((ctx) =\u003e {\n\tconsole.log(`outer after name: ${ctx.name}`)\n\tconsole.log(`outer after file name: ${ctx.filePath}`)\n\tconsole.log(`outer after full name: ${ctx.fullName}`)\n});\n\ntest('top level test', async (ctx) =\u003e {\n\tconsole.log(`tlt name: ${ctx.name}`)\n\tconsole.log(`tlt file name: ${ctx.filePath}`)\n\tconsole.log(`tlt full name: ${ctx.fullName}`)\n\tbefore((ctx) =\u003e {\n\t\tconsole.log(`tlt before name: ${ctx.name}`)\n\t\tconsole.log(`tlt before file name: ${ctx.filePath}`)\n\t\tconsole.log(`tlt before full name: ${ctx.fullName}`)\n\t})\n\tafter((ctx) =\u003e {\n\t\tconsole.log(`tlt after name: ${ctx.name}`)\n\t\tconsole.log(`tlt after file name: ${ctx.filePath}`)\n\t\tconsole.log(`tlt after full name: ${ctx.fullName}`)\n\t})\n\tawait sleep(1000);\n\tconsole.log('tlt text');\n});\n\nsuite('Suite 1', { concurrency: true }, (ctx) =\u003e {\n\tconsole.log(`suite name: ${ctx.name}`)\n\tconsole.log(`suite file name: ${ctx.filePath}`)\n\tconsole.log(`suite full name: ${ctx.fullName}`)\n\tbefore((ctx) =\u003e {\n\t\tconsole.log(`suite before name: ${ctx.name}`)\n\t\tconsole.log(`suite before file name: ${ctx.filePath}`)\n\t\tconsole.log(`suite before full name: ${ctx.fullName}`)\n\t})\n\tafter((ctx) =\u003e {\n\t\tconsole.log(`suite after name: ${ctx.name}`)\n\t\tconsole.log(`suite after file name: ${ctx.filePath}`)\n\t\tconsole.log(`suite after full name: ${ctx.fullName}`)\n\t})\n\n\tsuite('Nested Suite 1', (ctx) =\u003e {\n\t\tconsole.log(`nested suite name: ${ctx.name}`)\n\t\tconsole.log(`nested suite file name: ${ctx.filePath}`)\n\t\tconsole.log(`nested suite full name: ${ctx.fullName}`)\n\t\tbefore((ctx) =\u003e {\n\t\t\tconsole.log(`nested suite before name: ${ctx.name}`)\n\t\t\tconsole.log(`nested suite before file name: ${ctx.filePath}`)\n\t\t\tconsole.log(`nested suite before full name: ${ctx.fullName}`)\n\t\t})\n\t\tafter((ctx) =\u003e {\n\t\t\tconsole.log(`nested suite after name: ${ctx.name}`)\n\t\t\tconsole.log(`nested suite after file name: ${ctx.filePath}`)\n\t\t\tconsole.log(`nested suite after full name: ${ctx.fullName}`)\n\t\t})\n\n\t\ttest('nested suite test 1', async (ctx) =\u003e {\n\t\t\tconsole.log(`nested suite test name: ${ctx.name}`)\n\t\t\tconsole.log(`nested suite test file name: ${ctx.filePath}`)\n\t\t\tconsole.log(`nested suite test full name: ${ctx.fullName}`)\n\t\t\tawait sleep(1000);\n\t\t});\n\t});\n\n\ttest('suite 1 test 1', async (ctx) =\u003e {\n\t\tconsole.log(`suite test name: ${ctx.name}`)\n\t\tconsole.log(`suite test file name: ${ctx.filePath}`)\n\t\tconsole.log(`suite test full name: ${ctx.fullName}`)\n\t\tawait sleep(1000);\n\t});\n});\n\nsuite('Suite 2', (ctx) =\u003e {\n\tconsole.log(`suite 2 name: ${ctx.name}`)\n\tconsole.log(`suite 2 file name: ${ctx.filePath}`)\n\tconsole.log(`suite 2 full name: ${ctx.fullName}`)\n\tbefore((ctx) =\u003e {\n\t\tconsole.log(`suite 2 before name: ${ctx.name}`)\n\t\tconsole.log(`suite 2 before file name: ${ctx.filePath}`)\n\t\tconsole.log(`suite 2 before full name: ${ctx.fullName}`)\n\t})\n\tafter((ctx) =\u003e {\n\t\tconsole.log(`suite 2 after name: ${ctx.name}`)\n\t\tconsole.log(`suite 2 after file name: ${ctx.filePath}`)\n\t\tconsole.log(`suite 2 after full name: ${ctx.fullName}`)\n\t})\n\n\ttest('suite 2 test 1', async (ctx) =\u003e {\n\t\tconsole.log(`suite 2 test name: ${ctx.name}`)\n\t\tconsole.log(`suite 2 test file name: ${ctx.filePath}`)\n\t\tconsole.log(`suite 2 test full name: ${ctx.fullName}`)\n\t\tawait sleep(1000);\n\t});\n});\n```\n\nAnd the output:\n\n```\n❯ node --test test.test.mts\nouter before name: \u003croot\u003e\nouter before file name: /Users/ethan/dev/test.test.mts\nouter before full name: \u003croot\u003e\nsuite name: Suite 1\nsuite file name: /Users/ethan/dev/test.test.mts\nsuite full name: Suite 1\nnested suite name: Nested Suite 1\nnested suite file name: /Users/ethan/dev/]test.test.mts\nnested suite full name: Suite 1 \u003e Nested Suite 1\nsuite 2 name: Suite 2\nsuite 2 file name: /Users/ethan/dev/]test.test.mts\nsuite 2 full name: Suite 2\ntlt name: top level test\ntlt file name: /Users/ethan/dev/harperdb/test.test.mts\ntlt full name: top level test\ntlt before name: top level test\ntlt before file name: /Users/ethan/dev/test.test.mts\ntlt before full name: top level test\ntlt text\ntlt after name: top level test\ntlt after file name: /Users/ethan/dev/test.test.mts\ntlt after full name: top level test\nsuite before name: Suite 1\nsuite before file name: /Users/ethan/dev/test.test.mts\nsuite before full name: Suite 1\nsuite test name: suite 1 test 1\nsuite test file name: /Users/ethan/dev/test.test.mts\nsuite test full name: Suite 1 \u003e suite 1 test 1\nnested suite before name: Nested Suite 1\nnested suite before file name: /Users/ethan/dev/test.test.mts\nnested suite before full name: Suite 1 \u003e Nested Suite 1\nnested suite test name: nested suite test 1\nnested suite test file name: /Users/ethan/dev/test.test.mts\nnested suite test full name: Suite 1 \u003e Nested Suite 1 \u003e nested suite test 1\n✔ top level test (1001.064666ms)\nnested suite after name: Nested Suite 1\nnested suite after file name: /Users/ethan/dev/test.test.mts\nnested suite after full name: Suite 1 \u003e Nested Suite 1\nsuite after name: Suite 1\nsuite after file name: /Users/ethan/dev/test.test.mts\nsuite after full name: Suite 1\nsuite 2 before name: Suite 2\nsuite 2 before file name: /Users/ethan/dev/test.test.mts\nsuite 2 before full name: Suite 2\nsuite 2 test name: suite 2 test 1\nsuite 2 test file name: /Users/ethan/dev/test.test.mts\nsuite 2 test full name: Suite 2 \u003e suite 2 test 1\n▶ Suite 1\n ▶ Nested Suite 1\n ✔ nested suite test 1 (1000.447083ms)\n ✔ Nested Suite 1 (1001.29175ms)\n ✔ suite 1 test 1 (1000.691916ms)\n✔ Suite 1 (1001.694125ms)\nsuite 2 after name: Suite 2\nsuite 2 after file name: /Users/ethan/dev/test.test.mts\nsuite 2 after full name: Suite 2\nouter after name: \u003croot\u003e\nouter after file name: /Users/ethan/dev/test.test.mts\nouter after full name: \u003croot\u003e\n▶ Suite 2\n ✔ suite 2 test 1 (1000.771042ms)\n✔ Suite 2 (1004.945292ms)\nℹ tests 4\nℹ suites 3\nℹ pass 4\nℹ fail 0\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms 3102.461209\n```\n\nFurthermore, its missing from the types if someone wants to open an appropriate issue on DefinitelyTyped ","author":{"url":"https://github.com/Ethan-Arrowood","@type":"Person","name":"Ethan-Arrowood"},"datePublished":"2025-11-17T20:21:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/60757/node/issues/60757"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ecbda10f-c585-bc82-c5b8-b1da10bc1189 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EE1E:CFFC3:2BC1FEF:3E7BF4A:6A4BFE1A |
| html-safe-nonce | 1764d90e85121b2603016d89d2824d59db60687122de6dc6f41b57b0d7d3b486 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTFFOkNGRkMzOjJCQzFGRUY6M0U3QkY0QTo2QTRCRkUxQSIsInZpc2l0b3JfaWQiOiIzNTc3ODY4ODgwNzU0NTA3MjkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b51d010eda373ea8e33a2cffe5c441e72c6d1df8661a2eba35bd7ca9c2c86505 |
| hovercard-subject-tag | issue:3634915655 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/60757/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8871737fd61a81142d212cdfb6aaf4b95cf32fe85e26113067f9c045cc0e1bf9/nodejs/node/issues/60757 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8871737fd61a81142d212cdfb6aaf4b95cf32fe85e26113067f9c045cc0e1bf9/nodejs/node/issues/60757 |
| og:image:alt | Affected URL(s) https://nodejs.org/docs/latest-v24.x/api/test.html#class-suitecontext Description of the problem It seems that fullName exists at runtime for SuiteContext but it is missing from the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Ethan-Arrowood |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6c542436f9c7282f518e9ec7bc5a3adff20a13fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width