Giter Club home page Giter Club logo

wad20-exam2-b's Introduction

WAD 2020 Exam 2: Project B

Project setup

npm install

Run your tests

npm run test

Setup

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 repository https://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

Tasks

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.

  1. Test that as many entries are displayed as items in the array that are passed to Entries component [6 points]
  2. One entry is encapsulated in a li with class .entry
  3. Test that dates displayed are in the correct format [6 points]
  4. Note: to make it easy use moment.js which is already installed.
  5. Test that entries that have image property also render image tag, and entry objects that do not have image property skip rendering of the image tag [10 points]
  6. Test that reordering button is displayed [3 points]

wad20-exam2-b's People

Contributors

tsotnekekelia avatar

Watchers

James Cloos avatar  avatar

Forkers

joonasp1 mehisxd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.