An open API service indexing awesome lists of open source software.

https://github.com/bennycode/workshop-jest


https://github.com/bennycode/workshop-jest

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# Testing Workshop

- [React Core Concepts](https://reactjs.org/docs/hello-world.html)

## Jest

- https://testing-library.com/docs/queries/about

### Run specific tests

**Run test by file path:**

```bash
react-scripts test --colors --verbose --runTestsByPath ./src/yaml/sortYaml.test.ts
```

**Run test by test name:**

```bash
react-scripts test --testNamePattern=updateCount
react-scripts test --colors --verbose "--testNamePattern=^sortYaml sorts YAML content by key$"
```

## Playwright

- https://playwright.dev/docs/test-advanced