SJRK-129: Write tests for sjrk.storyTelling.server.browseStoriesHandler.extractFromCouchResponse

Metadata

Source
SJRK-129
Type
Task
Priority
Blocker
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Gregor Moss
Created
2018-06-01T15:14:03.247-0400
Updated
2018-11-28T12:12:53.747-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool Server

Description

sjrk.storyTelling.server.browseStoriesHandler.extractFromCouchResponse, a function that assembles the expected JSON structure for the client-side browse from a CouchDB view result, should have tests with mock data to ensure it's working as intended.