mirror of
https://github.com/plausible/analytics.git
synced 2024-12-02 07:38:47 +03:00
99fd101135
* Add basic test harness for browserstack/playwright * Refactor the tests * added the first test for outbound links * tests for outbound-links and file-downloads * added more browser versions to test on * Lint tracker test files * Update harness.js with BrowserStack example * Fix Playwright request mocks * Add test harness to CI * Remove Safari on Windows from browsers list Co-authored-by: Robert <robertjoonas16@gmail.com> Co-authored-by: Vinicius Brasil <vini@hey.com>
21 lines
509 B
JSON
21 lines
509 B
JSON
{
|
|
"scripts": {
|
|
"deploy": "node compile.js",
|
|
"test": "BROWSERSTACK_LOCAL=true npx playwright test --config=./test/support/playwright.config.js"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@playwright/test": "^1.22.2",
|
|
"browserstack-local": "^1.4.8",
|
|
"express": "^4.18.1",
|
|
"generatorics": "^1.1.0",
|
|
"handlebars": "^4.7.7",
|
|
"playwright": "^1.22.2",
|
|
"uglify-js": "^3.9.4"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.20.0",
|
|
"eslint-plugin-playwright": "^0.10.0"
|
|
}
|
|
}
|