From 6a7c99259aea5e826c84d0d5cc629f87069bd3f2 Mon Sep 17 00:00:00 2001 From: Tais Massaro Date: Wed, 1 Sep 2021 21:18:20 +0200 Subject: [PATCH] test(core): fix test names --- README.md | 11 ++++++----- .../core/src/components/renderer/renderer.test.tsx | 2 +- packages/core/src/components/shape/shape.test.tsx | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 46fcbed65..e44d26593 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,9 @@ To support this project (and gain access to the project while it is in developme ## Documentation -In progress! Check the README files in packages/core and packages/tldraw. +In progress! Check the README files in [packages/core](packages/core/README.md) and [packages/tldraw](packages/tldraw/README.md). + +## Examples - [@tldraw/core example](https://codesandbox.io/s/tldraw-core-example-88c74) - [@tldraw/tldraw example](https://codesandbox.io/s/tldraw-example-n539u) @@ -24,7 +26,7 @@ In progress! Check the README files in packages/core and packages/tldraw. ### The tldraw packages -To work on the packages (@tldraw/core or @tldraw/tldraw), you'll want to run the (extremely fast) package dev server. +To work on the packages (@tldraw/core or @tldraw/tldraw), you'll want to run the (extremely fast) dev server. 1. Download or clone the repository. @@ -46,15 +48,14 @@ To work on the packages (@tldraw/core or @tldraw/tldraw), you'll want to run the 4. Open the local site at `https://localhost:5000`. - ### The tldraw app To work on the app itself (that embeds @tldraw/tldraw), run the Next.js app. This won't directly respond to changes to packages, so for concurrent package dev work be sure to use the package dev server instead. (This is being worked on.) - + 1. Start the development server. ```bash yarn start:www ``` - + 2. Open the local site at `https://localhost:3000`. diff --git a/packages/core/src/components/renderer/renderer.test.tsx b/packages/core/src/components/renderer/renderer.test.tsx index 037c21a25..4e3eec61f 100644 --- a/packages/core/src/components/renderer/renderer.test.tsx +++ b/packages/core/src/components/renderer/renderer.test.tsx @@ -3,7 +3,7 @@ import { mockDocument, mockUtils } from '+test' import { render } from '@testing-library/react' import { Renderer } from './renderer' -describe('context menu', () => { +describe('renderer', () => { test('mounts component without crashing', () => { render( { +describe('shape', () => { test('mounts component without crashing', () => { renderWithSvg(