refactor: move remaining test examples to fixture files

This commit is contained in:
Paul Gauthier (aider) 2024-11-27 07:04:23 -08:00
parent 4de8c25a3f
commit 642c1c50fb
4 changed files with 66 additions and 68 deletions

11
tests/fixtures/languages/tsx/test.tsx vendored Normal file
View file

@ -0,0 +1,11 @@
import React from 'react';
interface GreetingProps {
name: string;
}
const Greeting: React.FC<GreetingProps> = ({ name }) => {
return <h1>Hello, {name}!</h1>;
};
export default Greeting;