Merge branch 'master' of https://git.difuse.io/Difuse/difuse-playwright into Testing-Progress
This commit is contained in:
commit
120dbd9a53
2 changed files with 8 additions and 3 deletions
|
@ -19,3 +19,7 @@ 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.
|
|
@ -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": [],
|
||||
|
|
Loading…
Reference in a new issue