[test] Move playwright installation inside test:playwright script

This commit is contained in:
Faisal Salman
2025-02-15 13:37:56 +07:00
parent 5413a9888d
commit 6f0191c11b
2 changed files with 1 additions and 2 deletions

View File

@@ -209,7 +209,7 @@
"test:jshint": "jshint src/main",
"test:lockfile-lint": "npx lockfile-lint -p package-lock.json",
"test:mocha": "mocha test/unit",
"test:playwright": "playwright test test/e2e --browser all"
"test:playwright": "npx playwright install && playwright test test/e2e --browser all"
},
"dependencies": {
"detect-europe-js": "^0.1.2",