Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

not all tests are passing out of the box #16

Closed
Jake-Gillberg opened this issue Jul 24, 2017 · 9 comments
Closed

not all tests are passing out of the box #16

Jake-Gillberg opened this issue Jul 24, 2017 · 9 comments
Labels

Comments

@Jake-Gillberg
Copy link

npm run test fails at scripts/test.js with the Error:

Test suite failed to run
SyntaxError: Identifier 'jest' has already been declared
    at Runtime._execModule (node_modules/jest-runtime/build/index.js:442:13)
          at <anonymous>
@erNail
Copy link

erNail commented Aug 8, 2017

I have the same problem.

@skeebuzz
Copy link

When I try to run the tests from a fresh react-box unbox, the SimpleStorage contract doesn't deploy and I get: Error: VM Exception while processing transaction: invalid opcode. (This is against testrpc)

@skeebuzz
Copy link

Couldn't figure out why it wasn't working so I used a vanilla truffle install and combined it with an ejected create-react-app deployment (which is what it looks like the react box is is anyway).

@ryanhagerty
Copy link

I believe this is because it's trying to run the test.js as a test. I found this issue which clarified: facebook/create-react-app#1319

@palafoxernesto
Copy link

This pull request solves the issue

@jordanglassman
Copy link

Confirmed that version bump in PR fixes, npm install required.

@benjaminmbrown
Copy link

Just unboxed. Ran truffle test . testItStoresAValue fails - VM exception revert.
screen shot 2018-06-26 at 7 48 41 pm

@stale
Copy link

stale bot commented Dec 21, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 21, 2018
@stale
Copy link

stale bot commented Dec 28, 2018

This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if no there is no reply to further comments.

@stale stale bot closed this as completed Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants