Skip to content

CommercialTribe/interview-pairing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommercialTribe Pairing Exercise

Task

Our objective is to implement 3 methods in the user-activities.js controller.

  • getActivityByIdAsync(actId)
  • getActivitiesByOwnersAsync(userIds)
  • getActivitiesByOwnerAsync(userId)

Acceptance criteria

  • All methods should always return an array of activity name, activity id, owner id, and owner name
  • Field names should be activityName, activityId, ownerName, ownerId
  • All specs (current and added) should pass

Install

$ npm install

Run tests

$ npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%