Untitled
unknown
plain_text
a year ago
720 B
7
Indexable
const INSERT_ONE_SALE_MOCK = [ { productId: 1, quantity: Math.floor(Math.random() * 99) + 1, }, ]; const INSERT_TWO_SALES_MOCK = [ { productId: 1, quantity: Math.floor(Math.random() * 99) + 1, }, { productId: 2, quantity: Math.floor(Math.random() * 99) + 1, }, ]; const RESULT_INSERT_ONE_SALE_MOCK = 666; const RESULT_INSERT_TWO_SALES_MOCK = { id: 666, }; const RESULT_NEW_INSERT_ONE_SALE_MOCK = [ { productId: 3, quantity: Math.floor(Math.random() * 99) + 1, }, ]; const RESULT_NEW_INSERT_TWO_SALES_MOCK = [ { productId: 3, quantity: Math.floor(Math.random() * 99) + 1, }, { productId: 4, quantity: Math.floor(Math.random() * 99) + 1, }, ];
Editor is loading...
Leave a Comment