Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

react-native-testing-library

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-testing-library - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1-es5.0

build/debug.js

11

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc