Reorganize test files & directories

This commit is contained in:
Faisal Salman 2024-11-28 23:24:19 +07:00
parent aa56b2f4f3
commit 1a057b4be2
149 changed files with 34 additions and 29 deletions

View File

@ -202,14 +202,14 @@
"scripts": { "scripts": {
"build": "./script/build-dist.sh && ./script/build-esm.js", "build": "./script/build-dist.sh && ./script/build-esm.js",
"build+test": "npm run build && npm run test", "build+test": "npm run build && npm run test",
"fuzz": "jazzer ./test/jazzer-fuzz-test.js --sync", "fuzz": "jazzer ./test/fuzz/redos.js --sync",
"test": "./script/test-all.sh", "test": "./script/test-all.sh",
"test:dts-lint": "tsd --typings src/main/ua-parser.d.ts --files test/dts-test.ts", "test:dts-lint": "tsd --typings src/main/ua-parser.d.ts --files test/static/dts-lint.ts",
"test:eslint": "eslint src && eslint script", "test:eslint": "eslint src && eslint script",
"test:jshint": "jshint src/main", "test:jshint": "jshint src/main",
"test:lockfile-lint": "npx lockfile-lint -p package-lock.json", "test:lockfile-lint": "npx lockfile-lint -p package-lock.json",
"test:mocha": "mocha test/mocha*js", "test:mocha": "mocha test/unit",
"test:playwright": "playwright test" "test:playwright": "playwright test test/e2e --browser all"
}, },
"dependencies": { "dependencies": {
"detect-europe-js": "^0.1.2", "detect-europe-js": "^0.1.2",

Some files were not shown because too many files have changed in this diff Show More