ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

NPM: Add `jest`

Open thibsy opened this issue 1 year ago • 1 comments

This PR adds jest as npm package.

Usage:

  • components/ILIAS/UI/tests/Client/* (once unit-tests are migrated)

Wrapped By:

  • Not applicable.

Reasoning:

  • Uses syntax we are already familiar with, like describe() and it().
  • mocha unit-tests can be easily migrated.
  • We desperately need a JavaScript unit-testing framework.

Maintenance:

  • The package is maintained actively, see GitHub releases.
  • The package is widely used (11.5M on GitHub).

Links:

  • Package manager: https://www.npmjs.com/package/jest
  • GitHub: https://github.com/jestjs/jest
  • Documentation: https://jestjs.io/docs/getting-started

thibsy avatar Jan 21 '24 13:01 thibsy

Jour Fixe, 22 JAN 2024: Dependency is accepted for ILIAS 10.

matthiaskunkel avatar Jan 22 '24 13:01 matthiaskunkel

This should have become part of ILIAS 10 via this PR. As always, something might have gone wrong. If you are still missing that package, please ping me.

Kind regards!

klees avatar Jul 09 '24 11:07 klees