Fix Node.js test runner with CommonJS exports
This commit is contained in:
@@ -282,3 +282,8 @@ class TestRunner {
|
||||
if (typeof window !== 'undefined') {
|
||||
window.TestRunner = TestRunner;
|
||||
}
|
||||
|
||||
// Export for Node.js (CommonJS)
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = { TestRunner };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user