Skip to content

Commit

Permalink
Update @testing-library/react in group main to the latest version � (#…
Browse files Browse the repository at this point in the history
…947)

Summary:
Note: I had to add a new Jest environment to get this to run. More context is in testing-library/dom-testing-library#477.

Pull Request resolved: #947

Test Plan: yarn test

Reviewed By: mweststrate

Differential Revision: D20766231

Pulled By: passy

fbshipit-source-id: bd6bf732cae862d84ad5ab66a3e57d5933a030a5
  • Loading branch information
greenkeeper[bot] authored and facebook-github-bot committed Apr 1, 2020
1 parent 0711617 commit 49e3ebf
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 51 deletions.
11 changes: 6 additions & 5 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"devDependencies": {
"@babel/code-frame": "^7.8.3",
"@jest-runner/electron": "^2.0.2",
"@testing-library/react": "^9.3.0",
"@testing-library/react": "^10.0.2",
"@types/algoliasearch": "^3.30.19",
"@types/babel__code-frame": "^7.0.0",
"@types/babel__core": "^7.1.6",
Expand Down Expand Up @@ -166,6 +166,7 @@
"fs-extra": "^8.1.0",
"glob": "^7.1.2",
"jest": "^25.1.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-fetch-mock": "^3.0.0",
"metro": "^0.58.0",
"metro-resolver": "^0.58.0",
Expand Down Expand Up @@ -205,10 +206,10 @@
"test-dist": "yarn build --mac && yarn open-dist --inspect=9229",
"test-dist:no-embedded-plugins": "yarn build --mac --no-embedded-plugins && yarn open-dist --inspect=9229",
"fix": "eslint . --fix --ext .js,.ts,.tsx",
"test": "yarn build:babel-transformer && jest --testPathPattern=\"node\\.(js|ts|tsx)$\" --no-cache",
"test:debug": "yarn build:babel-transformer && node --inspect node_modules/.bin/jest --runInBand",
"test-electron": "yarn build:babel-transformer && jest --testPathPattern=\"electron\\.(js|ts|tsx)$\" --testEnvironment=@jest-runner/electron/environment --runner=@jest-runner/electron --no-cache",
"test-with-device": "yarn build:babel-transformer && USE_ELECTRON_STUBS=1 jest --testPathPattern=\"device\\.(js|ts|tsx)$\" --detectOpenHandles --no-cache",
"test": "yarn build:babel-transformer && jest --env=jest-environment-jsdom-sixteen --testPathPattern=\"node\\.(js|ts|tsx)$\" --no-cache",
"test:debug": "yarn build:babel-transformer && node --inspect node_modules/.bin/jest --runInBand --env=jest-environment-jsdom-sixteen",
"test-electron": "yarn build:babel-transformer && jest --env=jest-environment-jsdom-sixteen --testPathPattern=\"electron\\.(js|ts|tsx)$\" --testEnvironment=@jest-runner/electron/environment --runner=@jest-runner/electron --no-cache",
"test-with-device": "yarn build:babel-transformer && USE_ELECTRON_STUBS=1 jest --env=jest-environment-jsdom-sixteen --testPathPattern=\"device\\.(js|ts|tsx)$\" --detectOpenHandles --no-cache",
"lint:tsc": "tsc --noemit",
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
"lint:flow": "flow check",
Expand Down
Loading

0 comments on commit 49e3ebf

Please sign in to comment.