mirror of
https://github.com/plausible/analytics.git
synced 2024-11-25 15:34:22 +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>
14 lines
480 B
JSON
14 lines
480 B
JSON
{
|
|
"parserOptions": { "ecmaVersion": "latest" },
|
|
"env": { "node": true, "es6": true },
|
|
"extends": ["eslint:recommended", "plugin:playwright/playwright-test"],
|
|
"rules": {
|
|
"max-len": [0, {"code": 120}],
|
|
"max-classes-per-file": [0],
|
|
"no-unused-expressions": [1, { "allowShortCircuit": true }],
|
|
"no-unused-vars": [2, { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
|
|
"no-prototype-builtins": [0],
|
|
"playwright/no-conditional-in-test": [0]
|
|
}
|
|
}
|