react-native-testing-library
Advanced tools
Comparing version 1.4.0 to 1.4.1-es5.0
{ | ||
"name": "react-native-testing-library", | ||
"version": "1.4.0", | ||
"version": "1.4.1-es5.0", | ||
"description": "Simple React Native testing utilities helping you write better tests with less effort", | ||
"main": "src/index.js", | ||
"main": "build/index.js", | ||
"typings": "./typings/index.d.ts", | ||
@@ -12,2 +12,3 @@ "repository": "git@github.com:callstack/react-native-testing-library.git", | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.2", | ||
"@babel/core": "^7.1.2", | ||
@@ -25,2 +26,3 @@ "@babel/runtime": "^7.1.2", | ||
"flow-bin": "^0.86.0", | ||
"flow-copy-source": "^2.0.2", | ||
"jest": "^23.6.0", | ||
@@ -47,3 +49,6 @@ "metro-react-native-babel-preset": "^0.49.0", | ||
"lint": "eslint src --cache", | ||
"release": "release-it" | ||
"release": "release-it", | ||
"prepublish": "yarn build && yarn copy-flowtypes", | ||
"copy-flowtypes": "flow-copy-source --ignore __tests__/*.js src build", | ||
"build": "rm -rf build; babel src --out-dir build --presets=module:metro-react-native-babel-preset --ignore 'src/__tests__/*'" | ||
}, | ||
@@ -50,0 +55,0 @@ "jest": { |
@@ -40,4 +40,4 @@ # react-native-testing-library | ||
test('should verify two questions', () => { | ||
const { getAllByName, getByText } = render(<QuestionsBoard {...props} />); | ||
const allQuestions = getAllByName(Question); | ||
const { getAllByType, getByText } = render(<QuestionsBoard {...props} />); | ||
const allQuestions = getAllByType(Question); | ||
@@ -44,0 +44,0 @@ setAnswer(allQuestions[0], 'a1'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 4 instances in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118489
53
22
13