From 423a8d1935e2fa47474e111cc00705fff11e9049 Mon Sep 17 00:00:00 2001 From: Andrey Goncharov Date: Fri, 28 Apr 2023 12:19:45 -0700 Subject: [PATCH] Revamp newScript detailed view Summary: Project: https://docs.google.com/document/d/1SbFrpvfIShX5npANNa1AkgHliR1M-VMLW5Q9RhREt94/edit# Reviewed By: antonk52 Differential Revision: D45353402 fbshipit-source-id: 88cc26f9886fd7b2cdcd5ca3d021790d8669c140 --- desktop/jest.config.js | 1 + desktop/scripts/jest-css-stub.js | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 desktop/scripts/jest-css-stub.js diff --git a/desktop/jest.config.js b/desktop/jest.config.js index 926b4370f..8db7dee52 100644 --- a/desktop/jest.config.js +++ b/desktop/jest.config.js @@ -20,6 +20,7 @@ module.exports = { '^flipper-(server-core|ui-core|frontend-core|common)$': '/flipper-$1/src', '^flipper-(pkg|pkg-lib|doctor|test-utils)$': '/$1/src', + '^.+\\.(css|scss)$': '/scripts/jest-css-stub.js', }, clearMocks: true, coverageReporters: [ diff --git a/desktop/scripts/jest-css-stub.js b/desktop/scripts/jest-css-stub.js new file mode 100644 index 000000000..62aec982c --- /dev/null +++ b/desktop/scripts/jest-css-stub.js @@ -0,0 +1,11 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @format + * @ts-check + */ + +module.exports = {};