aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2021-09-01 16:03:05 -0400
committerGitHub <[email protected]>2021-09-01 16:03:05 -0400
commit098d879fe2564022ce63261b5cb87b91b5f45a18 (patch)
tree91f9fdfe53e6f217570235862cabc03d48ce4856 /package.json
parent49406b7ac62fc4ea7362e9804c650f9140982107 (diff)
parent4ef8e36821ea9bd814f190bb04491c2833ca542e (diff)
downloadSponsorBlock-098d879fe2564022ce63261b5cb87b91b5f45a18.tar.gz
SponsorBlock-098d879fe2564022ce63261b5cb87b91b5f45a18.zip
Merge pull request #922 from ajayyy/basic-selenium
Basic selenium
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index 26776c9f..2f59a888 100644
--- a/package.json
+++ b/package.json
@@ -6,6 +6,7 @@
"dependencies": {
"@types/react": "^16.9.22",
"@types/react-dom": "^16.9.5",
+ "@types/selenium-webdriver": "^4.0.15",
"babel": "^6.23.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.6",
@@ -21,11 +22,13 @@
"@types/jquery": "^3.3.31",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
+ "chromedriver": "^92.0.0",
"copy-webpack-plugin": "^6.0.3",
"eslint": "^7.15.0",
"eslint-plugin-react": "^7.21.5",
"jest": "^27.0.6",
"rimraf": "^3.0.0",
+ "selenium-webdriver": "^4.0.0-beta.4",
"ts-jest": "^27.0.3",
"ts-loader": "^6.2.1",
"typescript": "~4.3",
@@ -53,7 +56,8 @@
"dev:firefox": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox\" \"npm run build:watch:firefox\"",
"dev:firefox-android": "npm run build:dev:firefox && concurrently \"npm run web-run:firefox-android\" \"npm run build:watch:firefox\"",
"clean": "rimraf dist",
- "test": "npx jest",
+ "test": "npm run build:chrome && npx jest",
+ "test-without-building": "npx jest",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},