Page MenuHomePhabricator

3.- Jest unit test
Closed, ResolvedPublic

Description

Acceptance Criteria:

  • jest unit tests are run when npm run test is run
  • test should run for no longer than 2 minutes

Event Timeline

According to the blubber documentation, a blubber file is expected to have", at minimum, two variants (1) test and (2) production"

Change 517829 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/Wikibase@master] Add hello world jest testing infrastructure

https://gerrit.wikimedia.org/r/517829

Change 518228 had a related patch set uploaded (by Pablo Grass (WMDE); owner: Pablo Grass (WMDE)):
[mediawiki/extensions/Wikibase@master] tests: allow jest watch inside container

https://gerrit.wikimedia.org/r/518228

Michael renamed this task from 3.- Jest unit test + CI to 3.- Jest unit test.Jun 24 2019, 8:58 AM
Michael updated the task description. (Show Details)

Split out the CI part into a different task since are somewhat independent of each other: T226370: 3.5: Enable CI for testing and linting

Change 517829 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: Add hello world jest testing infrastructure

https://gerrit.wikimedia.org/r/517829

Change 518228 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge tests: allow jest watch inside container

https://gerrit.wikimedia.org/r/518228

Lucas_Werkmeister_WMDE moved this task from Peer Review to Done on the Wikidata-Bridge-Sprint-0 board.

Done, I think, since the CI part is a different task now.