6f931759a6
* Added 100% test coverage for Users store module. * Added 100% coverage for Projects store module. * Added 100% coverage for ProjectMembers store module.
10 lines
304 B
TypeScript
10 lines
304 B
TypeScript
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
import { GlobalWithFetchMock } from 'jest-fetch-mock';
|
|
|
|
const customGlobal: GlobalWithFetchMock = global as GlobalWithFetchMock;
|
|
|
|
customGlobal.fetch = require('jest-fetch-mock');
|
|
customGlobal.fetchMock = customGlobal.fetch;
|