Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Currently when you run `yarn run test` you will see the following output: ``` ~/fbsource/xplat/sonar/desktop ▲ yarn run test ./flipper-ui/src/chrome/__tests__/ yarn run v1.18.0 $ yarn build:tsc $ tsc -b tsc-root/tsconfig.json && tsx ./scripts/compute-package-checksum.tsx -d ./babel-transformer -o ./lib/checksum.txt $ cross-env TZ=Pacific/Pohnpei jest ./flipper-ui/src/chrome/__tests__/ jest-haste-map: duplicate manual mock found: Logger.d The following files share their name; please delete one of them: * <rootDir>/flipper-ui/lib/fb-stubs/__mocks__/Logger.d.ts * <rootDir>/flipper-ui/lib/fb/__mocks__/Logger.d.ts jest-haste-map: duplicate manual mock found: Logger The following files share their name; please delete one of them: * <rootDir>/flipper-ui/lib/fb-stubs/__mocks__/Logger.js * <rootDir>/flipper-ui/lib/fb/__mocks__/Logger.js jest-haste-map: duplicate manual mock found: uuid The following files share their name; please delete one of them: * <rootDir>/flipper-ui/lib/__mocks__/uuid.js * <rootDir>/flipper-ui/src/__mocks__/uuid.tsx jest-haste-map: duplicate manual mock found: Logger The following files share their name; please delete one of them: * <rootDir>/flipper-ui/lib/fb/__mocks__/Logger.js * <rootDir>/flipper-ui/src/fb-stubs/__mocks__/Logger.tsx jest-haste-map: duplicate manual mock found: Logger The following files share their name; please delete one of them: * <rootDir>/flipper-ui/src/fb-stubs/__mocks__/Logger.tsx * <rootDir>/flipper-ui/src/fb/__mocks__/Logger.tsx ``` With this change jest should ignore the transpiled javascript files Reviewed By: mweststrate Differential Revision: D60036766 fbshipit-source-id: 5a499fcaf1d19c4b152dcb00da25406a26b4404e
- Loading branch information