{"repo":"gasp-xyz/gasp-e2e","free":true,"listed":false,"github":"https://github.com/gasp-xyz/gasp-e2e","clone":"git clone https://github.com/gasp-xyz/gasp-e2e.git","description":"gasp tests :microscope::scientist:","language":"TypeScript","stars":13,"topics":["polkadot","substrate","blockchain","end-to-end-testing","testing-framework","substrate-node","qa","qaautomation","jest","chaos-monkey"],"license":null,"category":"blockchain-web3","readme_excerpt":"Mangata E2E Tests This project has been created to test individual and combined API functionalities that Mangata exchange offers. --- How to setup 1. Install node (v18.16.1 ) (we try to support nvm stable version ) 2. Clone the code 3. Run yarn in the root folder. 4. Install Jest test framework globally: yarn global add jest -g Setup with Dev Container 1. Follow the instructions to setup a local node and export the API URL according to the node web socket. - ie: export API URL=ws://127.0.0.1:9949 Working with Dev Containers ( Dev containers are no longer maintained, PRs are welcomed ) Basically all system and project dependencies should be added to .devcontainer/Dockerfile so all developer dependencies are tracked in version control and available to anyone. Troubleshooting ( Dev containers are no longer maintained, PRs are welcomed ) So somehow we now have essentially a distributed system for developing and that brings its own problems. If you get stuck, tear down chain running in docker-compose, spin it back up, and rebuild the devcontainer. 1. Close vscode 2. docker-compose -f devops/dockerfiles/docker-compose.yml down 3. docker-compose -f devops/dockerfiles/docker-compose.yml up 4. Re-open vscode 5. ctrl+shift+p and search for Remote-Containers: Rebuild and Reopen in Container --- How to build 1. yarn How to run esLint 1. Follow the mangata eslint installation guide here 2. yarn eslint How to configure If you run test on your machine first you need to set using yarn . 1. C","default_branch":null,"files":null,"tree":[],"storefront":"/r/gasp-xyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gasp-xyz/gasp-e2e/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}