import styles from "./index.module.css";
export default async function Home() {
return (
<div>Hello World!</div>
);
}
import styles from "./index.module.css";
export default async function Home() {
return (
<h1>Tasks</h1>
);
}
import styles from "./index.module.css";
export default async function Home() {
return (
<main className={styles.main}>
<div className={styles.container}>
<h1 className={styles.title}></h1>
</div>
</main>
);
}
import styles from "./index.module.css";
export default async function Home() {
return (
<main className={styles.main}>
<div className={styles.container}>
<h1 className={styles.title}>Get Things Done</h1>
</div>
</main>
);
}
it("Show the list of tasks", async function () {
render(
<Suspense>
<Page />
</Suspense>
);
expect(await screen.findByText("Task 1")).toBeInTheDocument();
expect(screen.getByText("Task 2")).toBeInTheDocument();
expect(screen.getByText("Task 3")).toBeInTheDocument();
});
import styles from "./index.module.css";
export default async function Home() {
return (
<main className={styles.main}>
<div className={styles.container}>
<h1 className={styles.title}>Get Things Done</h1>
</div>
</main>
);
}
import styles from "./index.module.css";
export default async function Home() {
return (
<main className={styles.main}>
<div className={styles.container}>
<h1 className={styles.title}>Get Things Done</h1>
<ul>
<li>Task 1</li>
<li>Task 2</li>
<li>Task 3</li>
</ul>
</div>
</main>
);
}