Skip to content

Commit f3dd405

Browse files
committed
Update the test stubs.
1 parent 27d5124 commit f3dd405

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/client.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ describe('Quant Client', function () {
468468
it('should accept custom headers', async function () {
469469
const response = {
470470
statusCode: 200,
471-
body: {
471+
data: {
472472
quant_revision: 1,
473473
md5: 'da697d6f9a318fe26d2dd75a6b123df0',
474474
quant_filename: 'index.html',
@@ -582,7 +582,7 @@ describe('Quant Client', function () {
582582
it('should accept empty object', async function () {
583583
const response = {
584584
status: 200,
585-
body: {
585+
data: {
586586
quant_revision: 1,
587587
md5: 'da697d6f9a318fe26d2dd75a6b123df0',
588588
quant_filename: 'nala.jpg',
@@ -797,7 +797,7 @@ describe('Quant Client', function () {
797797
it('should remove index.html', async function () {
798798
const response = {
799799
status: 200,
800-
body: { project: 'test' },
800+
data: { project: 'test' },
801801
headers: {},
802802
config: {},
803803
request: {},

0 commit comments

Comments
 (0)