Files
flipper/desktop/scripts/jest-setup.js
Michel Weststrate 191df465b7 Updated to typescript 4
Summary:
allow-large-files

Updated to typescript 4. Note that this is no new major, the way TS numbers is that 4.0 is simply the number after 3.9 (so they refuse to use 3.10).

Primarily reason is that it allows us to use `/** deprecated */`. although there are definitely more interesting improvements

Reviewed By: passy, nikoant

Differential Revision: D23869445

fbshipit-source-id: 54e251b398b8698d9b18898ce66c3203b32aa356
2020-09-24 05:58:29 -07:00

17 lines
455 B
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
// import/no-unresolved complains, although it is a perfectly fine import
// eslint-disable-next-line
global.fetch = require('jest-fetch-mock');
require('immer').enableMapSet();
require('../app/src/fb-stubs/Logger').init(undefined, {isTest: true});