fix: tentatively fix flaky tests

In CI the tests sometimes fail with the following error:
`ReferenceError: exports is not defined`.[1]

This commit changes the ts-node Jest preset to transpile code into
CommonJS instead of using ESM, since the latter is considered
experimental. It is unknown whether this will fix the issue in the CI,
but it might help.

Due to this change, this commit also migrates a Javascript test to
Typescript.

[1]: https://zuul.corp.avm99963.com/t/gerrit/build/08e3a3723c03477cbd3f7c63d0568be9

Change-Id: I31f4e0fa6ec5d28ce97fae108e51eccc412c4535
5 files changed
tree: edbf8f4e72839515f2a02d608a3142ac3782cece
  1. .github/
  2. cws/
  3. docs/
  4. playbooks/
  5. roles/
  6. src/
  7. templates/
  8. tools/
  9. .babelrc
  10. .clang-format
  11. .editorconfig
  12. .gitignore
  13. .gitreview
  14. .prettierrc.yaml
  15. .zuul.yaml
  16. eslint.config.js
  17. jest.config.js
  18. LICENSE
  19. lit-localize.json
  20. Makefile
  21. OWNERS
  22. package.json
  23. pnpm-lock.yaml
  24. README.md
  25. renovate.json
  26. tagRelease.bash
  27. tsconfig.json
  28. webpack.config.js
README.md

TW Power Tools

Available in the Chrome Web Store Get the add-on for Firefox

Build status Translation status

An extension which brings several enhancements to the Google Forums and the Community Console.

For a list of features/enhancements, check out the feature list doc.

Information for contributors

This extension is being actively developed, and everyone is welcome to make feature requests, report issues and contribute code changes.

In order to make feature requests or report issues, please do so at the Monorail Issue Tracker:

To see a more exhaustive guide on how to contribute, and information on how to contribute code changes, please read the following doc:

Beta channel

Before releasing updates to the stable channel, the newest versions are uploaded to the beta channel so they can be tested by everyone who's interested. This is another way to contribute to the project, because beta testing can make us notice bugs before they reach the stable channel.

The beta channel for Chrome is available here.