From b583b6c56bae1864f6b7c22fca7c6d9340b91b7b Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Sat, 8 Jul 2017 12:04:28 +0100 Subject: [PATCH] readme --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f51158c..a4f6165 100644 --- a/README.md +++ b/README.md @@ -80,12 +80,15 @@ module.exports = MockBase => class MockRivers extends MockBase { route: '/rivers', responses: [ { - response: { type: 'json', body: [ - { name: 'Volga', drainsInto: 'Caspian Sea' }, - { name: 'Danube', drainsInto: 'Black Sea' }, - { name: 'Ural', drainsInto: 'Caspian Sea' }, - { name: 'Dnieper', drainsInto: 'Black Sea' } - ]} + response: { + type: 'json', + body: [ + { name: 'Volga', drainsInto: 'Caspian Sea' }, + { name: 'Danube', drainsInto: 'Black Sea' }, + { name: 'Ural', drainsInto: 'Caspian Sea' }, + { name: 'Dnieper', drainsInto: 'Black Sea' } + ] + } } ] }