about summary refs log tree commit diff stats
path: root/js/where/where.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/where/where.test.js')
-rw-r--r--js/where/where.test.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/js/where/where.test.js b/js/where/where.test.js
index 43638d9..e674ca0 100644
--- a/js/where/where.test.js
+++ b/js/where/where.test.js
@@ -1,6 +1,3 @@
-/**
- * Simple test runner for the where function
- */
 const test = {
     run(name, fn) {
         try {
@@ -21,7 +18,6 @@ const test = {
     }
 };
 
-// Test Data
 const testData = [
     {
         name: 'John',
@@ -64,7 +60,6 @@ const testData = [
     }
 ];
 
-// Basic Tests
 test.run('should handle empty inputs', () => {
     test.assertEquals(where([], {}), [], 'Empty array and empty object');
     test.assertEquals(where(null, {}), [], 'Null collection');
@@ -126,7 +121,6 @@ test.run('should handle null values correctly', () => {
     test.assertEquals(result[0].name, 'Alice', 'Should find Alice');
 });
 
-// Run in Node.js environment
 if (typeof module !== 'undefined' && module.exports) {
     module.exports = { test };
 }