BryanHuntNV

Results 20 comments of BryanHuntNV

Also note that chai.use() doesn't currently work without a code change: https://github.com/chaijs/chai/issues/1569

See also: https://github.com/chaijs/chai/issues/1570

FWIW, my typical use-case for chai-as-promised (using mocha) is: ```ts return expect(testClass.testFunction(args)).to.eventually.be.rejectedWith(Error); ```

Does this essentially mean that chai.use(chai-as-promised) is no longer supported?

@43081j thanks for the clarification. Is there an ETA for a fix? I'm trying to prioritize upgrading to chai v5 vs waiting for the fix. We have hundreds of tests...

@43081j Thank you for the guidance. I appreciate that!

Is there any update on this? I tried hacking the Tailwind Aura presets into Typescript. It kinda is working, but some presets seem to not be applied. For example, on...

It occurred to me today that a better solution might be to just parse the JSON, update the version and write it back out.

This is the best starting point I can provide right now: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-winston/src/instrumentation.ts It is rather convoluted to read, but hopefully it would take you down the right path. If you...