Skip to content

Commit

Permalink
Merge pull request #138 from thibaut-decherit/docs/typo
Browse files Browse the repository at this point in the history
docs: typos
  • Loading branch information
alan2207 authored Feb 3, 2024
2 parents 11d9149 + 5736800 commit 706137f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Auth

NOTE: Handling Auth on the client doesn't mean it shouldn't be handled on the server. As the matter of fact, it is more important to protect the resources on the server, but it should be handled on the client as well for better user experience.
NOTE: Handling Auth on the client doesn't mean it shouldn't be handled on the server. As a matter of fact, it is more important to protect the resources on the server, but it should be handled on the client as well for better user experience.

There are 2 parts of Auth:

Expand Down
4 changes: 2 additions & 2 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You define all the commands a real world user would execute when using the app a
- Browser mode - it will open a dedicated browser and run your application from start to finish. You get a nice set of tools to visualize and inspect your application on each step. Since this is a more expensive option, you want to run it only locally when developing the application.
- Headless mode - it will start a headless browser and run your application. Very useful for integrating with CI/CD to run it on every deploy.

It is very configurable with plugins and commands. You can even pair it with [Testing Library](https://testing-library.com/docs/cypress-testing-library/intro/) which is makes your tests even easier to write.
It is very configurable with plugins and commands. You can even pair it with [Testing Library](https://testing-library.com/docs/cypress-testing-library/intro/) which makes your tests even easier to write.

You can also write custom commands to abstract some common tasks.

Expand All @@ -59,4 +59,4 @@ It can be used for designing API endpoints. The business logic of the mocked API

[Data Models Example Code](../src/test/server/db.ts)

Having fully functional mocked API server also handy when it comes to testing, you don't have to mock fetch, but make requests to the mocked server instead with the data your application would expect.
Having a fully functional mocked API server is also handy when it comes to testing, you don't have to mock fetch, but make requests to the mocked server instead with the data your application would expect.

0 comments on commit 706137f

Please sign in to comment.