From 864c0702995a635ca62f76b6c7759c89eb9db0a5 Mon Sep 17 00:00:00 2001 From: Amo Wu Date: Tue, 28 Nov 2023 16:25:48 +0800 Subject: [PATCH] docs: move data sample to provider section At first, when I was reading the README, I found this part to be confusing. It wasn't until I reached the section on provider later that I understood. I think this should be moved to that section. --- README.md | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 8916297..9166b6a 100644 --- a/README.md +++ b/README.md @@ -98,27 +98,6 @@ module.exports = { }; ``` - - -```js -module.exports = [ - { - id: 1, - items: [ - { - name: "burger", - quantity: 2, - value: 20, - }, - { - name: "coke", - quantity: 2, - value: 5, - }, - ], - }, -]; -``` ### 2. Create an Order API client @@ -305,6 +284,28 @@ module.exports = { }; ``` + + +```js +module.exports = [ + { + id: 1, + items: [ + { + name: "burger", + quantity: 2, + value: 20, + }, + { + name: "coke", + quantity: 2, + value: 5, + }, + ], + }, +]; +``` + ### 2. Run provider verification tests