We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99149c1 + 2bbf7ce commit 5b03537Copy full SHA for 5b03537
src/components/Cell.tsx
@@ -17,7 +17,7 @@ export const Cell = ({ id }: CellProps): JSX.Element => {
17
let value: string | number | JSX.Element = "";
18
19
let className = "cell";
20
- if (G.size > 10) {
+ if (G.size > 7) {
21
className += " small";
22
}
23
test/components/Cell.test.tsx
@@ -65,8 +65,8 @@ describe("Cell tests", () => {
65
expect(cell).not.toHaveClass("white");
66
});
67
68
- it("should render with small class when size > 10", () => {
69
- boardContext.G.size = 11;
+ it("should render with small class when size > 7", () => {
+ boardContext.G.size = 8;
70
71
const { container } = renderWithProviders(
72
<BoardContext.Provider value={boardContext}>
0 commit comments