Le 04/12/2020 à 15:32, Jonas Smedegaard a écrit : > Quoting Xavier (2020-12-04 11:48:58) >> Le 03/12/2020 à 19:05, Jonas Smedegaard a écrit : >>> Quoting Xavier (2020-12-03 18:30:54) >>>> Le 03/12/2020 à 18:07, Jonas Smedegaard a écrit : >>>>> Please provide real (not virtual) package node-jest-worker, and >>>>> have jest depend on or recommend that, as appropriate. > > [...] > >> node-babel7 does provide versioned virtual packages (like acorn). > > You are right: I failed to check correctly versioning. apt and aptitude > apparently does *not* show version for virtual packages (I thought so, > and I thought I had checked that with node-types-uuid). > > This works: > > apt-cache showpkg node-types-babel-code-frame | grep '^[a-z]' > > This also works, and is more flexible to e.g. reveal that 3 node-types-* > packages do not provide version: > > sudo sync-available > grep-available -FProvides -sProvides node-types- | grep -Po > '\bnode-types-[^,]+'
I didn't know those tips, thanks! > This should also work flexibly and more elegant, but doesn't for me (not > sure why): > > grep-status --field=Provides -sProvides node-types-babel-code-frame > > >> I'll study if node-babel7 can be split into multiple packages. It took >> me around 4 hours to split jest correctly... >> >> Done for jest, waiting for ftpmaster review. > > Thanks! Note that I didn't succeed to split node-expect, it is really mixed into other jest modules (!= node-expect.js). See (incomplete) https://people.debian.org/~yadd/jest-spaghetti-dish.png. So I think using mocha+expect is a bad thing, prefer to use jest directly (just to set test file paths: `jest --ci --testRegex test/*.test-files.js`).