mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-10-22 03:36:18 +00:00
0cd4f12cfb695a450665d968fea81f3079d92f8e
Globals were only set where Node had none, and Node defines Event and CustomEvent itself. Code running in the browser env therefore built Node events, which a JSDOM node refuses: react-tooltip's window.dispatchEvent(new CustomEvent(...)) threw "parameter 1 is not of type 'Event'". In the browser env these two now come from JSDOM, as they do under jest-environment-jsdom.
@pezkuwi/dev
A collection of shared CI scripts and development environment (configuration, dependencies) used by all @pezkuwi projects.
Included here -
- @pezkuwi/dev Common base configurations for our TypeScript projects
- @pezkuwi/dev-test A Jest-like global environment for usage alongside
node:test - @pezkuwi/dev-ts An ESM loader for TS environments
Languages
JavaScript
71.7%
TypeScript
25.5%
Shell
2.8%