test(core): fix test names
This commit is contained in:
parent
44cca2ddd6
commit
6a7c99259a
3 changed files with 8 additions and 7 deletions
11
README.md
11
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`.
|
||||
|
|
|
@ -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(
|
||||
<Renderer
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as React from 'react'
|
|||
import { mockUtils, renderWithSvg } from '+test'
|
||||
import { Shape } from './shape'
|
||||
|
||||
describe('handles', () => {
|
||||
describe('shape', () => {
|
||||
test('mounts component without crashing', () => {
|
||||
renderWithSvg(
|
||||
<Shape
|
||||
|
|
Loading…
Reference in a new issue