• Jack Franklin's avatar
    Enhance Jest config error for `setupTestFrameworkScriptFile` (#3512) · 7969b48c
    Jack Franklin authored
    * Enhance Jest config error for `setupTestFrameworkScriptFile`
    
    I wasn't aware of the fact that users of c-r-a could just define
    `src/setupTests.js` and it would be configured with Jest - I nearly
    ejected before I found a GitHub issue that confirmed this functionality.
    
    I thought it might be a nice idea to add it to the error about Jest
    config overrides to stop others ejecting when they don't need to.
    
    * Change the order of Jest config errors.
    
    * Show different error for `setupTestFrameworkScriptFile`
    
    * Tweak the message
    7969b48c