Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getTestTemplate causing Expected () to start arrow function, but got ';' instead of '=>' ` warning #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 11, 2017

  1. getTestTemplate fix

    Modified the getTestTemplate function. The check for `test` availability wasn't accurate enough. `var || 'default'` does not cover a lot of episodes. Infact I was getting an `Expected () to start arrow function, but got ';' instead of '=>' ` warning because `test` was a series of blank spaces so it wasn't undefined so it wasn't been converted in `true` and the trim would transform it in an empty string. Lately `return ();` threw the warning.
    Miroku87 committed Apr 11, 2017
    Configuration menu
    Copy the full SHA
    9c07c65 View commit details
    Browse the repository at this point in the history