[Pkg-javascript-devel] RFH: puppeteer tests
Yadd
yadd at debian.org
Fri Jan 14 09:25:27 GMT 2022
On 14/01/2022 08:09, Andrius Merkys wrote:
> Hello,
>
> Martina and I have been working on packaging puppeteer, an API to
> control Chrome over the DevTools Protocol. Martina got the package
> building on sbuild, but we are stuck with tests. Most likely the blocker
> is incorrect combination of extcopies/extlinks, but we are not able to
> sort it out ourselves. Thus we would be very grateful if someone more
> experienced could give it a look.
>
> Packaging of puppeteer is on salsa [1], be sure to use 'run-tests'
> branch, as 'master' has tests disabled.
>
> puppeteer depends on devtools-protocol (in NEW). It has to be built from
> salsa [2] too, branch 'package-v0.0.869402', as I uploaded an earlier
> version to NEW.
>
> Bonus issue is de-vendoring of mitt, which is used for puppeteer tests.
> In turn, mitt depends on esm, and this seems nontrivial to package.
> However, most likely it has to be done sooner or later, just to be able
> to run puppeteer tests.
>
> [1] https://salsa.debian.org/js-team/node-puppeteer
> [2] https://salsa.debian.org/js-team/node-devtools-protocol
I disabled also the minimal test you put on debian/tests/pkg-js/test: it
requires network (launches npm view). You should rewrite it in shell
script (it just compare chrome version to what is set in its
package.json and node-devtools-protocol version)
More information about the Pkg-javascript-devel
mailing list