{"id":19610712,"url":"https://github.com/onflow/flow-js-testing","last_synced_at":"2025-04-08T04:17:14.200Z","repository":{"id":37045488,"uuid":"300352928","full_name":"onflow/flow-js-testing","owner":"onflow","description":"Testing framework to enable Cadence testing via a set of JavaScript methods and tools","archived":false,"fork":false,"pushed_at":"2024-09-27T22:06:21.000Z","size":1419,"stargazers_count":46,"open_issues_count":25,"forks_count":33,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-10-09T20:02:49.909Z","etag":null,"topics":["blockchain","cadence","javascript","smart-contracts","testing"],"latest_commit_sha":null,"homepage":"https://onflow.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onflow.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-01T16:48:44.000Z","updated_at":"2024-09-27T22:02:03.000Z","dependencies_parsed_at":"2023-12-27T00:22:42.174Z","dependency_job_id":"1def8942-3278-45bc-b428-4e584f909631","html_url":"https://github.com/onflow/flow-js-testing","commit_stats":{"total_commits":146,"total_committers":22,"mean_commits":6.636363636363637,"dds":0.7671232876712328,"last_synced_commit":"8b45c5e3bea61731c5b900733bad41852ef151ec"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onflow%2Fflow-js-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onflow%2Fflow-js-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onflow%2Fflow-js-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onflow%2Fflow-js-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onflow","download_url":"https://codeload.github.com/onflow/flow-js-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773721,"owners_count":20993639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","cadence","javascript","smart-contracts","testing"],"created_at":"2024-11-11T10:32:08.110Z","updated_at":"2025-04-08T04:17:14.174Z","avatar_url":"https://github.com/onflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED\n\nThe library is deprecated and is not supported/maintained anymore\n\nUse [Cadence Testing Framework](https://cadence-lang.org/docs/testing-framework) instead\n\n\u003cdiv style=\"text-align: center; margin: 1em 0 2em\"\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg src=\"./js-testing-banner.svg\" alt=\"Logo\" width=\"680\" height=\"auto\"\u003e\n  \u003c/a\u003e\n  \n  \u003cp align=\"center\"\u003e\n    \u003ci\u003eTest your Flow applications written in Cadence with ease\u003c/i\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://docs.onflow.org/flow-js-testing/\"\u003e\u003cstrong\u003eRead the docs\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/onflow/flow-js-testing/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/onflow/flow-js-testing/blob/master/CONTRIBUTING.md\"\u003eContribute\u003c/a\u003e\n    ·\n    \u003ca href=\"https://docs.onflow.org/flow-js-testing/install/\"\u003eInstallation\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# JavaScript Testing Framework for Flow Network\n\nThis repository contains utility methods which, in conjunction with testing libraries like `Jest`,\ncan be used to speed up your productivity while building Flow dapps with Cadence.\n\n## Requirements\n\n### Node\n\nWe are assuming you are using this framework under Node environment. You will need at least version **12.0.0**\n\n### Emulator\n\nMost of the methods will not work, unless you have Flow Emulator running in the background.\nYou can install it alongside Flow CLI. Please refer to [Install Flow CLI](https://docs.onflow.org/flow-cli/install)\nfor instructions.\n\nIf you have it already installed, run the `flow init` in your terminal to create `flow.json` config file in the root directory of your tests.\n\nIn order to use the emulator within your tests, please refer to the [documentation](https://docs.onflow.org/flow-js-testing/emulator/).\n\n## Playground Integration\n\nEvery Playground project has the ability to `export` it's content as a set of files with Cadence template code and\nbasic test environment \"out of the box\".\n\nIf you want to use this functionality:\n\n- Press \"Export\" button in the top right corner\n- Pick the name of the project - or keep auto-generated version\n- Press \"Export\" button within popup window\n\nPlayground will create a `zip` file for you, which you can save wherever you like.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonflow%2Fflow-js-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonflow%2Fflow-js-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonflow%2Fflow-js-testing/lists"}