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

Add test for fun #54

Closed
wants to merge 1 commit into from
Closed

Commits on Oct 17, 2024

  1. Add test for fun

    Add tests and update monitor script to support block monitoring parameter.
    
    * Add `test/sample.test.ts` with a sample test case using Jest.
    * Add `test/monitor.test.ts` with a test case for the monitor script using Jest.
    * Modify `.github/workflows/check.yml` and `.github/workflows/verify-compilation.yml` to include jobs to run tests using Jest.
    * Modify `.dockerignore` and `.npmignore` to ensure the `test` directory is not excluded.
    * Modify `src/tools/monitor.ts` to add a new feature to the monitor script that uses a parameter to specify the number of blocks to monitor until it stops.
    * Modify `src/utils/monitoring.ts` to update the `listenBlocks` function to support the new parameter as optional.
    
    ---
    
    For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Moonsong-Labs/moonbeam-tools?shareId=XXXX-XXXX-XXXX-XXXX).
    crystalin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7903828 View commit details
    Browse the repository at this point in the history