addons/shared/jest.config.jsblame
View source
b69ab311/**
b69ab312 * Copyright (c) Meta Platforms, Inc. and affiliates.
b69ab313 *
b69ab314 * This source code is licensed under the MIT license found in the
b69ab315 * LICENSE file in the root directory of this source tree.
b69ab316 */
b69ab317
b69ab318/* global module */
b69ab319/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
b69ab3110module.exports = {
b69ab3111 preset: 'ts-jest',
b69ab3112 testEnvironment: 'node',
b69ab3113 moduleNameMapper: {
b69ab3114 '\\.(css|less)$': '<rootDir>/__mocks__/styleMock.ts',
b69ab3115 },
b69ab3116};