[Pkg-javascript-devel] RFH: puppeteer tests

Martina Ferrari tina at debian.org
Sun Jan 16 02:27:46 GMT 2022


Hi,

On 14/01/2022 08:41, Yadd wrote:

> I started to modify your package. The problem for tests is that it 
> launches chromium, then this requires X server.

Not really, the problem we were having was that the tests were failing 
during their compilation.

I see you moved to version 13 and introduced other changes, but the 
problem is still the same..

undefined ERROR: 
../../usr/share/nodejs/type-detect/type-detect.js(3,10): error TS2304: 
Cannot find name 'define'.

And if I remove the mime module that changes to:

undefined ERROR: ../../usr/share/nodejs/mime/Mime.js:15:8 - error 
TS2300: Duplicate identifier 'define'.


You mentioned something about launching chromium and requiring an X 
server, but it is not clear how you got there.. Can you share how are 
you running the tests?



-- 
Martina Ferrari (Tina)



More information about the Pkg-javascript-devel mailing list