qunitjs / js-reporters

📋 Common Reporter Interface (CRI) for JavaScript testing frameworks.
MIT License
60 stars 18 forks source link

[BREAKING CHANGE] Spec: Use `null` instead of `undefined` #127

Closed Krinkle closed 3 years ago

Krinkle commented 3 years ago

Avoid literal undefined as these tend to be needlessly difficult to debug and distinguish from (intentional, or unintentional) undefined values.

Given the choice, let's go with null.

Fixes https://github.com/js-reporters/js-reporters/issues/124