diff --git a/packages/react-native-saf-x/jest.config.js b/packages/react-native-saf-x/jest.config.js deleted file mode 100644 index 85bd07e9f..000000000 --- a/packages/react-native-saf-x/jest.config.js +++ /dev/null @@ -1,11 +0,0 @@ -// Sync object -/** @type {import('@jest/types').Config.InitialOptions} */ -const config = { - preset: 'react-native', - modulePathIgnorePatterns: [ - '/example/node_modules', - '/lib/', - ], -}; - -module.exports = config; diff --git a/packages/react-native-saf-x/package.json b/packages/react-native-saf-x/package.json index 0275662e6..0e07bb066 100644 --- a/packages/react-native-saf-x/package.json +++ b/packages/react-native-saf-x/package.json @@ -15,13 +15,9 @@ "react-native-saf-x.podspec", "!lib/typescript/example", "!android/build", - "!ios/build", - "!**/__tests__", - "!**/__fixtures__", - "!**/__mocks__" + "!ios/build" ], "scripts": { - "test": "jest", "linter-precommit": "yarn --cwd ../../ eslint --resolve-plugins-relative-to . --fix packages/react-native-saf-x/**/*.{js,ts,tsx}", "tsc": "tsc --project tsconfig.json" }, @@ -42,10 +38,8 @@ }, "devDependencies": { "@babel/core": "^7.12.9", - "@types/jest": "^26.0.15", "@types/react": "^16.9.55", "@types/react-native": "^0.64.4", - "jest": "^26.6.3", "react": "17.0.2", "react-native": "0.66.1", "typescript": "^4.0.5" diff --git a/packages/react-native-saf-x/tsconfig.json b/packages/react-native-saf-x/tsconfig.json index ac666d99d..c45636b83 100644 --- a/packages/react-native-saf-x/tsconfig.json +++ b/packages/react-native-saf-x/tsconfig.json @@ -6,8 +6,6 @@ ], "exclude": [ "**/node_modules", - "tests/support/**/*", - "tests-build/**/*", "build/**/*", ], } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 107140ce5..485f5c25f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3517,10 +3517,8 @@ __metadata: resolution: "@joplin/react-native-saf-x@workspace:packages/react-native-saf-x" dependencies: "@babel/core": ^7.12.9 - "@types/jest": ^26.0.15 "@types/react": ^16.9.55 "@types/react-native": ^0.64.4 - jest: ^26.6.3 react: 17.0.2 react-native: 0.66.1 typescript: ^4.0.5