Tweak comment

This commit is contained in:
Lucas Bustamante 2022-02-07 18:16:37 -03:00
parent 0cf1b69c7a
commit 03614e54ae
1 changed files with 2 additions and 3 deletions

View File

@ -20,9 +20,8 @@ import {
This Object is a JSON representation of single Order GET operation from the WooCommerce REST API.
Developer note:
We use JSON.stringify here to convert an Object into a String.
This is done like this because JavaScript passes Objects around by reference,
and we don't want tests to modify the original `jsonPayloadFull` variable.
We use JSON.stringify here to convert an Object into a String, as JavaScript passes Objects
around by reference, and we don't want tests to modify the original `responseOrderJson` variable.
*/
const responseOrderJson = JSON.stringify({
id: 1218,