The following prints false when I'd expect it to print true:
const pm = require('picomatch');
console.log(pm('test(/utils/**)')('test/utils'));
console.log(pm('test?(/utils/**)')('test/utils'));
On the otherhand, pm('test/utils/**')('test/utils) behaves as expected
The following prints
falsewhen I'd expect it to printtrue:On the otherhand,
pm('test/utils/**')('test/utils)behaves as expected