{ "rootDir": "../../", "moduleDirectories": [ "node_modules", "/client", "/packages" ], "moduleNameMapper": { "tinymce": "/tests/js/mocks/tinymce", "@woocommerce/(settings|wc-admin-settings)": "/client/wc-admin-settings/index.js", "@woocommerce/(.*)": "/packages/$1/src", "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/tests/js/mocks/static", "\\.(scss|css)$": "/tests/js/mocks/style-mock.js" }, "restoreMocks": true, "setupFiles": [ "/tests/js/setup-window-globals.js", "/tests/js/setup-globals" ], "setupFilesAfterEnv": [ "/tests/js/setup-react-testing-library.js" ], "testMatch": [ "**/__tests__/**/*.[jt]s", "**/test/*.[jt]s", "**/?(*.)test.[jt]s" ], "transform": { "^.+\\.[t|j]s?$": "babel-jest" }, "testPathIgnorePatterns": [ "/node_modules/", "/.*/build/", "/.*/build-module/", "/tests/e2e/" ], "testEnvironment": "jest-environment-jsdom-sixteen", "timers": "modern", "verbose": true }