Skip to content

Commit

Permalink
cache devices using node-cache (#186)
Browse files Browse the repository at this point in the history
* cache devices using node-cache

* merge iOS simulator and iOS Device and filter based on real device flag

* find device on sessionId on delete session

* filter devices based on real and simulators

* Fix integration test

* emit devices
  • Loading branch information
saikrishna321 authored Nov 4, 2021
1 parent b74bb84 commit 63d07c2
Show file tree
Hide file tree
Showing 10 changed files with 17,995 additions and 8,414 deletions.
25,774 changes: 17,585 additions & 8,189 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"main": "./lib/index.js",
"scripts": {
"test": "mocha -r ts-node/register ./test/unit/*.spec.js --exit",
"test-jest": "NODE_OPTIONS=--experimental-vm-modules npx jest ./test/unit/AndroidDeviceManager.spec.js",
"test-parallel": "mocha --require ts-node/register -p ./test/e2e/*.spec.js --timeout 60000",
"test-e2e": "mocha --require ts-node/register ./test/e2e/conf.spec.js --timeout 999999",
"integration": "mocha -r ts-node/register ./test/integration/*.spec.js --timeout 90000 --exit",
"build": "npx tsc && npm run copy-files",
"copy-files": "cp -R src/public lib",
Expand Down Expand Up @@ -36,15 +39,18 @@
"homepage": "https://github.com/AppiumTestDistribution/appium-device-farm#readme",
"dependencies": {
"@appium/base-plugin": "^1.7.2",
"@types/ramda": "^0.27.45",
"appium-adb": "^8.11.0",
"appium-ios-device": "^1.7.1",
"async-lock": "^1.2.8",
"async-wait-until": "^2.0.5",
"express": "^4.17.1",
"get-port": "^5.1.1",
"lodash": "^4.17.21",
"node-cache": "^5.1.2",
"node-schedule": "^2.0.0",
"node-simctl": "^6.4.1",
"lodash": "^4.17.21"
"ramda": "^0.27.1"
},
"devDependencies": {
"@babel/core": "^7.3.4",
Expand All @@ -64,12 +70,14 @@
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.0",
"jest": "^27.3.1",
"lint-staged": "^11.0.0",
"mocha": "^9.0.1",
"prettier": "^2.0.5",
"sinon": "^11.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.2.3"
"typescript": "^4.2.3",
"webdriverio": "7.12.5"
},
"appium": {
"pluginName": "device-farm",
Expand Down
Loading

0 comments on commit 63d07c2

Please sign in to comment.