test(core): fix test names

pull/71/head
Tais Massaro 2021-09-01 21:18:20 +02:00
rodzic 44cca2ddd6
commit 6a7c99259a
3 zmienionych plików z 8 dodań i 7 usunięć

Wyświetl plik

@ -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`.

Wyświetl plik

@ -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

Wyświetl plik

@ -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