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

Fails with Identifier 'test' has already been declared #4

Open
mischnic opened this issue Sep 10, 2020 · 2 comments
Open

Fails with Identifier 'test' has already been declared #4

mischnic opened this issue Sep 10, 2020 · 2 comments

Comments

@mischnic
Copy link

(Without any changes)

Identifier 'test' has already been declared

SyntaxError: Identifier 'test' has already been declared
    at eval (<anonymous>)
    at Eo (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:201748)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218712)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:245871)
    at t (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218427)
    at evaluate (https://51uok.csb.app/node_modules/pretty-format/build/index.js:8:3)
    at Eo (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:201752)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218712)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:245871)
    at t (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218427)
    at evaluate (https://51uok.csb.app/node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:567:26)
    at Eo (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:201752)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218712)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:245871)
    at t (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218427)
    at evaluate (https://51uok.csb.app/node_modules/@testing-library/react/dist/@testing-library/react.esm.js:44:17)
    at Eo (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:201752)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218712)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:245871)
    at t (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218427)
    at evaluate (https://51uok.csb.app/src/__tests__/index.test.js:7:15)
    at Eo (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:201752)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:218712)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:245871)
    at e.value (https://codesandbox.io/static/js/sandbox.55f5df20e.js:1:245491)
    at https://codesandbox.io/static/js/jest-lite.fe1609ac0.chunk.js:1:15520
    at l (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:255733)
    at Generator._invoke (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:255486)
    at Generator.forEach.e.<computed> [as next] (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:256090)
    at t (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:2405)
    at i (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:2616)
    at https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:2675
    at new Promise (<anonymous>)
    at https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:2556
    at https://codesandbox.io/static/js/jest-lite.fe1609ac0.chunk.js:1:15876
    at Array.map (<anonymous>)
    at e.<anonymous> (https://codesandbox.io/static/js/jest-lite.fe1609ac0.chunk.js:1:15224)
    at l (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:255733)
    at Generator._invoke (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:255486)
    at Generator.forEach.e.<computed> [as next] (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:256090)
    at t (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:2405)
    at i (https://codesandbox.io/static/js/common-sandbox.26857ffcc.chunk.js:1:2616)
@eps1lon
Copy link
Member

eps1lon commented Sep 11, 2020

Thanks for the report. I've noticed this a couple of times but couldn't determine why. I reported it to codesandbox as well (codesandbox/codesandbox-client#4887) since it's the only environment where I could reproduce the issue.

@tolgaduzenli

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants