Skip to content

Instantly share code, notes, and snippets.

@kevgathuku
Created June 3, 2025 21:12
Show Gist options
  • Save kevgathuku/ff7fcb1792a2996ff68aea113d7b858a to your computer and use it in GitHub Desktop.
Save kevgathuku/ff7fcb1792a2996ff68aea113d7b858a to your computer and use it in GitHub Desktop.
 FAIL  _build/default/test/test/test/Leap_test.js
Leap
✕ year not divisible by 4 in common year (30ms)
✕ year divisible by 4, not divisible by 100 in leap year (28ms)
 ● Leap › year not divisible by 4 in common year
expect(received).toBe(expected) // Object.is equality
Expected: false
Received: true

 at affirm (test/node_modules/melange-jest.jest/jest.js:76:36)
 at Object.<anonymous> (test/node_modules/melange-jest.jest/jest.js:215:5)
 ● Leap › year divisible by 4, not divisible by 100 in leap year
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false

 at affirm (test/node_modules/melange-jest.jest/jest.js:76:36)
 at Object.<anonymous> (test/node_modules/melange-jest.jest/jest.js:215:5)
Test Suites: 1 failed, 1 total
Tests: 2 failed, 2 total
Snapshots: 0 total
Time: 2.054s
Ran all test suites.
Test Suites: 1 failed, 1 total
Tests: 2 failed, 2 total
Snapshots: 0 total
Time: 2.057s
Ran all test suites.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment