versatica / mediasoup

Cutting Edge WebRTC Video Conferencing
https://mediasoup.org
ISC License
6.27k stars 1.13k forks source link

Node: jest, add modulePathIgnorePatters option #1251

Closed jmillan closed 11 months ago

jmillan commented 11 months ago

Indicate Jest not to look in worker/ nor rust/ for node modules.

Since flatbuffers is a npm module and also a subproject in worker folder, jest was complaining that there were two different modules for flatbuffers

jmillan commented 11 months ago

Is there include option? I'd prefer include option instead of exclude such that random things don't get included accidentally in the future.

Unfortunately there is not https://jestjs.io/docs/configuration

ibc commented 11 months ago

Let's merge?