// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. class FetchMock { static fn = jest.fn(async () => { const response = new Response() return response }) static async jsonResponse(json: string): Promise { const response = new Response(json) return response } } export {FetchMock}