Closed kziemianek closed 1 year ago
Thanks for reporting! Looking at this line:
API-WS: disconnected from ws://127.0.0.1:9944: 1006:: Abnormal Closure
it seems your node either didn't start or crashed. (swanky will not run it for you, you need to start it yourself with swanky node start
Can you verify that the node is running?
The warning are actually correct in this case because the test file includes the utils, but so does the swanky-cli itself. We haven't observed any negative effects of those apart from it being annoying :) and I haven't managed to find a way to suppress them. I'm considering making @polkadot/utils a peer dependency, so that the host project is responsible for adding it, but I have to look closer at the possible implications of that.
Totally forgot to run node 😫 . Thanks for clarification.
Description
Hi, so I've upgraded my local swanky to new 2.0 version and it seems like contract tests are not working. Additionally messages about conflicting packages started to popping up: #46
Steps to Reproduce init new project with flipper ink example build contract and then test it with command
swanky contract test flipper
Environment @astar-network/swanky-cli/2.0.0 darwin-x64 node-v18.2.0
Logs, Errors or Screenshots