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"

Michael claimed this task.Jun 19 2019, 10:37 AM
Michael moved this task from To do to Doing on the Wikidata-Bridge-Sprint-0 board.
Restricted Application added a project: User-Michael. · View Herald TranscriptJun 19 2019, 10:37 AM

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

Addshore moved this task from incoming to in progress on the Wikidata board.Jun 21 2019, 11:23 PM
Michael renamed this task from 3.- Jest unit test + CI to 3.- Jest unit test.Mon, Jun 24, 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 closed this task as Resolved.Mon, Jun 24, 1:24 PM
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.