-
Notifications
You must be signed in to change notification settings - Fork 127
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
Uruchamianie testów na wybrany dzień #40
Comments
Changes: * Added the option to run tests for a particular day. You can use a date like "YYYY-MM-DD", a number from 1 to 24, or run all tests if no specific argument is given.
Changes: * Added the option to run tests for a particular day. You can use a date like "YYYY-MM-DD", a number from 1 to 24, or run all tests if no specific argument is given.
Changes: * Added the option to run tests for a particular day. You can use a date like "YYYY-MM-DD", a number from 1 to 24, or run all tests if no specific argument is given.
Changes: * Added the option to run tests for a particular day. You can use a date like "YYYY-MM-DD", a number from 1 to 24, or run all tests if no specific argument is given. * Removed "test:all" script
Wprowadzone zmiany:
W przypadku podania jako argumentu dnia, szukany jest folder najbliższy bieżącej dacie. Dla przykładu, jeśli użyjemy polecenia "npm test 6", a będą istnieć foldery nazwane "2023-12-06" i "2024-12-06", a obecna data to "2024-12-24", wybrany zostanie folder z datą "2024-12-06". Zmiana ta pozwali na obsługę testów w przyszłych edycjach Advent of Frontend. |
Changes: * Updated the search logic when only a day is provided. Now, it looks for the latest folder with the date closest to the current one and matching the given day. For example, if we run npm test 6, and there are folders with dates 2023-12-06 and 2024-12-06, while the current date is 2024-12-24, it will select the folder with the date 2024-12-06. This change is made to support future editions of Advent of Frontend.
Changes: * Updated the search logic when only a day is provided. Now, it looks for the latest folder with the date closest to the current one and matching the given day. For example, if we run npm test 6, and there are folders with dates 2023-12-06 and 2024-12-06, while the current date is 2024-12-24, it will select the folder with the date 2024-12-06. This change is made to support future editions of Advent of Frontend.
Changes: * Moved validation functions isValidDate and isNumeric to the utilities module * Changed file extension from .cjs to .mjs due to ECMAScript modules usage * The getTestFilePath function, which returns the full path to the test file is public * Refactored function names
Dzięki! Wracamy po świętach, będzie feedback tak szybko, jak to możliwe. /P |
W niedzielę kończymy pierwszą edycję naszego wydarzenia (wow!)
W związku z tym pojawi się problem - polecenie
npm run test
nie będzie odnajdywało testów z dat dalszych, niż 24 grudnia.Chciałbym zaproponować szansę na kontrybucję:
npm run test 22
wykona testy z folderu2023-12-22
.npm run test
na uruchamianie wszystkich testów w projekcie zamiast testów z "dzisiejszej" datyZ góry dzięki dla zainteresowanych pomocą!
The text was updated successfully, but these errors were encountered: