Skip to content

Commit 75b38f2

Browse files
hi-ogawaclaude
andcommitted
fix: TypeScript errors in skipped test cases
Add @ts-expect-error comments for unused variables in documentation-only skipped tests. All tests pass and TypeScript compiles without errors. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d167674 commit 75b38f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/plugin-rsc/src/transforms/server-action.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ export default async () => null;
367367
describe('client transform examples (for reference)', () => {
368368
test.skip('top-level use client', () => {
369369
// Input:
370+
// @ts-expect-error - unused in skipped test for documentation
370371
const input = `
371372
'use client';
372373
@@ -423,6 +424,7 @@ export default function App() {
423424

424425
test.skip('top-level use server for client', () => {
425426
// Input:
427+
// @ts-expect-error - unused in skipped test for documentation
426428
const input = `
427429
'use server';
428430
@@ -452,6 +454,7 @@ export default async function log4(mesg) {
452454

453455
test.skip('top-level use server for SSR', () => {
454456
// Input:
457+
// @ts-expect-error - unused in skipped test for documentation
455458
const input = `
456459
'use server';
457460

0 commit comments

Comments
 (0)