diff --git a/docs/security.md b/docs/security.md index 489b3f6f..36f04ece 100644 --- a/docs/security.md +++ b/docs/security.md @@ -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: diff --git a/docs/testing.md b/docs/testing.md index 4ac15c95..259f0114 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -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. @@ -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.