From 4ae2c76022b5b7e7ce075bac25deca67f6dbbb4c Mon Sep 17 00:00:00 2001
From: Pol Selles Climent <81540683+Pokesi@users.noreply.github.com>
Date: Sun, 29 Jan 2023 15:51:59 +1100
Subject: [PATCH 1/6] Add tests for clicks
---
src/App.test.tsx | 50 +++++++++++++++++++++++++++++++++++++++++++++
src/App.tsx | 52 ++++++++++++++++++++++++-----------------------
tests.txt | Bin 0 -> 31800 bytes
3 files changed, 77 insertions(+), 25 deletions(-)
create mode 100644 tests.txt
diff --git a/src/App.test.tsx b/src/App.test.tsx
index 64ec6ac..f95f6d7 100644
--- a/src/App.test.tsx
+++ b/src/App.test.tsx
@@ -1,9 +1,59 @@
import React from "react";
import { render, screen } from "@testing-library/react";
import App from "./App";
+import Button from "@mui/material/Button";
+import { act } from "react-dom/test-utils";
test("Renders", () => {
render(
- Node ID #{row * 9 + key} - - |
- );
- })}
-
+ Node ID #{row * 9 + key} + + |
+ );
+ })}
+