MCPcopy Create free account
hub / github.com/algolia/algoliasearch-client-javascript / getStringifiedBody

Function getStringifiedBody

tests/utils.ts:47–49  ·  view source on GitHub ↗
(body: Record<string, any> = { foo: 'bar' })

Source from the content-addressed store, hash-verified

45 * Returns a JSON strigified body.
46 */
47export function getStringifiedBody(body: Record<string, any> = { foo: 'bar' }): string {
48 return JSON.stringify(body);
49}
50
51/**
52 * Creates a test server.

Calls

no outgoing calls

Tested by

no test coverage detected