diff --git a/packages/next-swc/crates/core/tests/fixture/server-actions/2/input.js b/packages/next-swc/crates/core/tests/fixture/server-actions/2/input.js new file mode 100644 index 0000000000000..7504c5890f70a --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/server-actions/2/input.js @@ -0,0 +1,9 @@ +// /app/page.tsx (Server Component) +async function myAction(a, b, c) { + "use action"; + console.log('a') +} + +export default function Page() { + return ; +} \ No newline at end of file