jest.config.js (18 lines of code) (raw):

/** * 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. * * @emails oncall+recoil * @flow strict * @format */ module.exports = { timers: 'fake', globals: { __DEV__: true, }, moduleNameMapper: { '^recoil-shared(.*)$': '<rootDir>/packages/shared$1', '^Recoil$': '<rootDir>/packages/recoil', '^recoil-sync$': '<rootDir>/packages/recoil-sync', '^refine$': '<rootDir>/packages/refine', }, testPathIgnorePatterns: [ '/node_modules/', '/packages-ext/', // Temporarily skip recoil-sync until we enable transit-js dependency '/packages/recoil-sync', ], setupFiles: ['./setupJestMock.js'], };