From 4c006dc35e552f8b8feb2fb950ec8139c04ea781 Mon Sep 17 00:00:00 2001 From: Olaoluwa Afolabi Date: Mon, 11 Sep 2023 22:48:41 +0100 Subject: [PATCH] docs: Update CONTRIBUTING.md to reflect removal of TypeScript (#989) * docs: Update CONTRIBUTING.md to reflect removal of TypeScript This commit updates the CONTRIBUTING.md file to reflect the latest changes in the project, specifically the removal of TypeScript. It provides clear instructions and guidelines for contributors on how to contribute to the project now that TypeScript is no longer a part of it. * restored deleted yarn.lock file which was out of sight due to making PR from mobile phone --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 076d88bab..0302ad865 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,7 +37,7 @@ git checkout -b ### Testing -Tests are run through `yarn` using [Web Test Runner](https://modern-web.dev/docs/test-runner/overview/) with [Playwright](https://github.com/microsoft/playwright) for browser testing. Browser and runtime configuration can be found in [`web-test-runner.config.mjs`](./web-test-runner.config.mjs) and [`playwright.config.ts`](./playwright.config.ts). +Tests are run through `yarn` using [Web Test Runner](https://modern-web.dev/docs/test-runner/overview/) with [Playwright](https://github.com/microsoft/playwright) for browser testing. Browser and runtime configuration can be found in [`web-test-runner.config.mjs`](./web-test-runner.config.mjs) and [`playwright.config.js`](./playwright.config.js). To begin testing, install the browser drivers: @@ -79,9 +79,9 @@ yarn test:browser --project=chrome --headed To run a single test file, pass its path as an argument. To run a particular test case, append its starting line number after a colon. ```bash -yarn test:browser src/tests/functional/drive_tests.ts -yarn test:browser src/tests/functional/drive_tests.ts:11 -yarn test:browser src/tests/functional/drive_tests.ts:11 --project=chrome +yarn test:browser src/tests/functional/drive_tests.js +yarn test:browser src/tests/functional/drive_tests.js:11 +yarn test:browser src/tests/functional/drive_tests.js:11 --project=chrome ``` ### Running the local web server