You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/tests
silverwind 08579d6cbb
Add initial typescript config and use it for eslint,vitest,playwright (#31186)
This enables eslint to use the typescript parser and resolver which
brings some benefits that eslint rules now have type information
available and a tsconfig.json is required for the upcoming typescript
migration as well. Notable changes done:

- Add typescript parser and resolver
- Move the vue-specific config into the root file
- Enable `vue-scoped-css/enforce-style-type` rule, there was only one
violation and I added a inline disable there.
- Fix new lint errors that were detected because of the parser change
- Update `i/no-unresolved` to remove now-unnecessary workaround for the
resolver
- Disable `i/no-named-as-default` as it seems to raise bogus issues in
the webpack config
- Change vitest config to typescript
- Change playwright config to typescript
- Add `eslint-plugin-playwright` and fix issues
- Add `tsc` linting to `make lint-js`
7 months ago
..
e2e Add initial typescript config and use it for eslint,vitest,playwright (#31186) 7 months ago
fuzz Rework markup link rendering (#26745) 1 year ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Use raw Wiki links for non-renderable Wiki files (#30273) 10 months ago
integration Simplify 404/500 page (#31409) 7 months ago
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) 1 year ago
mssql.ini.tmpl Azure blob storage support (#30995) 8 months ago
mysql.ini.tmpl Disable query token param in integration tests (#28592) 1 year ago
pgsql.ini.tmpl Azure blob storage support (#30995) 8 months ago
sqlite.ini.tmpl Disable query token param in integration tests (#28592) 1 year ago
test_utils.go Add some tests to clarify the "must-change-password" behavior (#30693) 9 months ago