https://github.com/vulpemventures/marina-api-test-app
Test web app for Marina Wallet API
https://github.com/vulpemventures/marina-api-test-app
Last synced: 12 months ago
JSON representation
Test web app for Marina Wallet API
- Host: GitHub
- URL: https://github.com/vulpemventures/marina-api-test-app
- Owner: vulpemventures
- Created: 2021-07-14T13:31:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T13:14:14.000Z (over 4 years ago)
- Last Synced: 2025-06-29T04:14:21.894Z (12 months ago)
- Language: TypeScript
- Size: 732 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Marina API test App

Visit: https://vulpemventures.github.io/marina-api-test-app/
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Add a Marina test
you need to add a `Test` object to the `src/api-tests.ts` file.
```typescript
export interface Test {
name: string; // test name
function: TestFunction; // () => Promise your test function
}
```
`TestFunction` needs to throw an error if the test fail and return if the test success.
## Available Scripts
In the project directory, you can run:
### `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3003](http://localhost:3003) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `yarn build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).