You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
453 B
22 lines
453 B
3 years ago
|
# Asserting sorted dates in Cypress
|
||
|
|
||
|
This demo serves as a minimal working example for the blog post
|
||
|
|
||
|
<https://peterbabic.dev/blog/how-to-assert-sorted-dates-cypress>
|
||
|
|
||
|
## Setup
|
||
|
|
||
|
```bash
|
||
|
git clone https://git.peterbabic.dev/demo/datetime-sorted-cypress.git
|
||
|
cd datetime-sorted-cypress
|
||
|
npm install
|
||
|
npm run test
|
||
|
```
|
||
|
|
||
|
The test should pass. Consider playing with the [index.html](index.html),
|
||
|
re-ordering the dates to affect the test result.
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|