Merge branch 'master' of https://git.difuse.io/Difuse/difuse-playwright into Testing-Progress

This commit is contained in:
Ajas 2024-06-02 21:27:30 +05:30
commit 120dbd9a53
2 changed files with 8 additions and 3 deletions

View file

@ -18,4 +18,8 @@ Copy the `.env.sample` file to `.env` and fill in the required values.
```bash
npm run test
```
```
## Contributing
Use `npm run lint:check` to check for linting errors and `npm run lint:fix` to fix them.

View file

@ -5,14 +5,15 @@
"main": "index.js",
"type": "module",
"scripts": {
"lint": "semistandard --fix tests/**/*.js",
"lint:check": "semistandard tests/**/*.js"
"lint:fix": "semistandard --fix tests/**/*.js",
"codegen": "npx playwright codegen",
"test": "playwright test",
"prepare": "npm run lint"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
"pre-commit": "npm run lint:fix"
}
},
"keywords": [],