Skip to content

Commit 64d5ef1

Browse files
YunchuWangclaude
andcommitted
fix: prefix unused destructured param with underscore to satisfy lint
The `description` parameter in the it.each callback is only used by Jest's template interpolation ($description in the test name), not in the test body. Rename to `_description` to match the eslint no-unused-vars /^_/u pattern. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 56d31f5 commit 64d5ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/durabletask-js/test/orchestration_executor.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@ describe("Orchestration Executor", () => {
15541554
{ description: "undefined", yieldedValue: undefined as any },
15551555
])(
15561556
"should fail when orchestrator yields $description as its first value",
1557-
async ({ description, yieldedValue }) => {
1557+
async ({ description: _description, yieldedValue }) => {
15581558
// An orchestrator that yields a non-Task value as its first yield should fail with a clear error
15591559
const badOrchestrator: TOrchestrator = async function* (_ctx: OrchestrationContext): any {
15601560
yield yieldedValue;

0 commit comments

Comments
 (0)