You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SyntaxError: Identifier 'jest' has already been declared #1319
@gaearon jest@18 tries to run the file scripts/test.js as a test. It is configured to look for test files in src/, which it now also matches to scr/* making it look in the scripts folder.
Reacted by dan, Phillip Akuamoah-Boateng, Bruno Quaresma, Jake Orr, Anton Bukov, Vitalii Makarets, Marco Arduini, John Allen, Víctor Gámez and Ilya Suzdalnitskiy
Activity
gaearon commentedon Dec 24, 2016
Can you provide the relevant code?
bondz commentedon Dec 24, 2016
See #1311
cnolimit commentedon Dec 24, 2016
Great! thanks all working now!
gaearon commentedon Dec 24, 2016
Could you clarify what was broken and how #1311 fixes this?
bondz commentedon Dec 24, 2016
@gaearon jest@18 tries to run the file scripts/test.js as a test. It is configured to look for test files in src/, which it now also matches to scr/* making it look in the scripts folder.
gaearon commentedon Dec 24, 2016
Aaaah. Thanks for explaining.
Fix npm test script
Fix npm test script