Skip to content

Instantly share code, notes, and snippets.

@jacobparis
Last active February 21, 2026 09:45
Show Gist options
  • Select an option

  • Save jacobparis/b0966258ac3fd377fb83dbdc3314dffc to your computer and use it in GitHub Desktop.

Select an option

Save jacobparis/b0966258ac3fd377fb83dbdc3314dffc to your computer and use it in GitHub Desktop.
gitcn test: simple static files

Test Module

A simple test module with two files.

import { greet } from '../lib/utils';
export default function Page() {
return <div>{greet('world')}</div>;
}
export function greet(name: string): string {
return `Hello, ${name}!`;
}
export function farewell(name: string): string {
return `Goodbye, ${name}!`;
}
export function celebrate(name: string): string {
return `Congratulations, ${name}!`;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment