Created
          October 8, 2017 15:57 
        
      - 
      
- 
        Save joeljuca/5b3ceca3448c3fcba857519947a1e50e to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const FAKE_CHALLENGES = (function () { | |
| const fakeMeAFile = file => ({name: file, content: `<${file}-content>`}) | |
| const fakeMeAChallenge = challengeKey => ({ | |
| title: challengeKey, | |
| files: ['index.js', 'readme.md', 'test.js'].map(fakeMeAFile) | |
| }) | |
| return () => ['hello-world', 'fizz-buzz', 'foo-bar'].map(fakeMeAChallenge) | |
| })() | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment