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 = {};