Testing suite belongs in this repo so that it can be locked globally instead of in the CI stages.
Makes it a heck of a lot easier to run tests locally as well, and out of the box.
Probably best to start with @^26 as it is today to ensure all tests run fine. Then upgrade to latest. This way packages with failing tests can just stage their update of this meta library.
It's version locked in the CI because latest Jest seems to trigger some kind of edge case that leaves certain tests hanging. Haven't had time to look into it. Might actually just be a thing in the server codebase come to think of it.
Testing suite belongs in this repo so that it can be locked globally instead of in the CI stages.
Makes it a heck of a lot easier to run tests locally as well, and out of the box.
Probably best to start with
@^26
as it is today to ensure all tests run fine. Then upgrade to latest. This way packages with failing tests can just stage their update of this meta library.Split out from https://github.com/os-js/osjs-client/pull/185#issuecomment-1200320877
Tasks
Stage 1
dependency
(make sure it's installed withnode 16
or below!)dev-meta
dependency on every package with tests, verify testsnpm install -g jest
from CI if verifiedStage 2
dev-meta
dependency on every package with tests, verify tests again and fix any errorsRelated packages