0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-27 08:42:47 +01:00
gitea/web_src/js/testUtils/jestRawLoader.js
silverwind 3c658dff23
Update JS dependencies (#19675)
* Update JS dependencies

- Update all JS dependencies minus vue and vue-loader
- Adapt to jest 28
- Add new eslint rules
- Tested Mermaid and Swagger-UI

* switch to @happy-dom/jest-environment for faster tests

* bump eslint env to es2022
2022-05-10 21:44:36 +02:00

5 lines
165 B
JavaScript

export default { // eslint-disable-line import/no-unused-modules
process: (content) => {
return {code: `module.exports = ${JSON.stringify(content)}`};
},
};