teraslice-client-js 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/test/client-spec.js
CHANGED
|
@@ -349,7 +349,7 @@ describe('Teraslice Client', () => {
|
|
|
349
349
|
const response = { _id: 'someID' };
|
|
350
350
|
beforeEach(() => {
|
|
351
351
|
scope.delete('/hello')
|
|
352
|
-
.reply(
|
|
352
|
+
.reply(200, response);
|
|
353
353
|
});
|
|
354
354
|
it('should resolve with the response from the server', async () => {
|
|
355
355
|
const results = await client.delete('/hello');
|
|
@@ -361,7 +361,7 @@ describe('Teraslice Client', () => {
|
|
|
361
361
|
beforeEach(() => {
|
|
362
362
|
scope.delete('/hello')
|
|
363
363
|
.query({ hello: true })
|
|
364
|
-
.reply(
|
|
364
|
+
.reply(200, response);
|
|
365
365
|
});
|
|
366
366
|
it('should resolve with the response from the server', async () => {
|
|
367
367
|
const results = await client.delete('/hello', { searchParams: { hello: 'true' } });
|