Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #9

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BeerBet 🍻
Experience a whole new way to enjoy your favorite matches with our sports betting site centered around fun and beers, without any money wagered.
https://beer.chouquettebet.fr/

> This project win an award as runner up Most fun category in [Supabase Launch Week 8 Hackathon](https://supabase.com/blog/launch-week-8-hackathon-winners).
> This project won an award as runner up Most fun category in [Supabase Launch Week 8 Hackathon](https://supabase.com/blog/launch-week-8-hackathon-winners).


![social](https://github.com/ChouquetteCorp/beerbet/assets/20130405/767813f2-2dd1-4f75-81df-80b717f7b3f1)
Expand Down Expand Up @@ -44,11 +44,11 @@ npm run lint

## Transform to XXX

All template are defined under `templates`. You can use `npm run cb-cli` to transform or save template.
All templates are defined under `templates`. You can use `npm run cb-cli` to transform or save templates.

```sh
npm run cb-cli
# Commands :
# Commands:
# npm run cb-cli -- transform <template> Transform repo with defined template
# npm run cb-cli -- save <template> Save current repo as template

Expand All @@ -68,14 +68,14 @@ npx api-sport-cli get-matchs -c .github/configApiSport/default.json -u api_id
```
You need to define env `SPORT_API_KEY`.

It will create `matchs.sql` file, which contains all matchs from API.
It will create a `matchs.sql` file, which contains all matchs from API.
You can import it in your database.


## End-to-end tests

For E2E tests, we use [cypress](https://www.cypress.io/).
Cypress allow to tests on several browsers (edge, chrome, firefox).
Cypress allows to test on several browsers (edge, chrome, firefox).


### Open Cypress
Expand All @@ -88,11 +88,11 @@ npm run dev:emulator
# Open cypress
npm run cypress:open
```
The command will open cypress app :
The command will open the cypress app:
- click on "E2E testing"
- choose the browser.

The selected browser will be open. You can select E2E specs to run it.
The selected browser will open. You can select E2E specs to run it.

```sh
# OR RUN
Expand All @@ -104,7 +104,7 @@ npm run cypress:run
You can write tests in `tests/e2e/specs/` folder. Use `*.cy.ts` extension.


Quick introduction to Cypress syntax, is available here: [https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test#What-you-ll-learn](https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test#What-you-ll-learn/).
Quick introduction to Cypress syntax is available here: [https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test#What-you-ll-learn](https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test#What-you-ll-learn/).


#### Custom command
Expand Down