npm install
npm run test
You will need to import this repository to you GitHub account, to do that please follow these steps:
- Go to Github import page
- Note: you have to be logged in to your GitHub account
- In the first field
"Your old repository’s clone URL"
enter URL of this repositoryhttps://github.com/tsotnekekelia/wad20-exam2-b
- In the next field give it a name
- Make it Private
- And begin to import, it should take few seconds
- Add me as a collaborator to your new repository, click here
to learn how
- My
email
andusername
on github is:[email protected]
andtsotnekekelia
- My
Modify Entries.spec.js to test the functionality of Entries.vue component.
Note: you need to create and pass some test data to this component in the test file.
- Test that as many entries are displayed as items in the array that are passed to
Entries
component [6 points] - One entry is encapsulated in a
li
with class.entry
- Test that dates displayed are in the correct format [6 points]
- Note: to make it easy use
moment.js
which is already installed. - Test that entries that have
image
property also render image tag, and entry objects that do not haveimage
property skip rendering of the image tag [10 points] - Test that reordering button is displayed [3 points]