Function fetchDatabase

  • Gets the db from the server with fetch() this is used for testing only as the file handles do not serialize - this should be stubbed in cypress and put in the fixtures directory.

    Parameters

    • fileName: string = 'testing/fsaDb.json'

    Returns Promise<void>

Generated using TypeDoc