garageScript / curriculum

GarageScript Curriculum
21 stars 164 forks source link

Fix/interview js5 test suite #346

Closed onlurking closed 3 years ago

onlurking commented 4 years ago

When you run:

npm run test -- interviews/__tests__/5.js

The test suite skips the other tests:

Test Suites: 1 failed, 1 total
Tests:       1 failed, 3 skipped, 4 total
Snapshots:   0 total
Time:        0.719 s, estimated 1 s

The problem is the 4th test that are using .only().

it.only('should handle non-greedy case', () => {
  ...  
});