{"id":18627291,"url":"https://github.com/itsnickbarry/buidler-test-isolater","last_synced_at":"2025-11-04T01:30:34.428Z","repository":{"id":57191177,"uuid":"289412860","full_name":"ItsNickBarry/buidler-test-isolater","owner":"ItsNickBarry","description":"Reinitialize the Buidler Runtime Environment before each Mocha test 🚧 ☕","archived":false,"fork":false,"pushed_at":"2020-08-22T03:46:42.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T07:16:03.046Z","etag":null,"topics":["blockchain","buidler","ethereum","fork","mocha","smart-contracts","solidity","test","wow"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ItsNickBarry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-22T03:36:58.000Z","updated_at":"2020-08-23T21:58:40.000Z","dependencies_parsed_at":"2022-09-16T11:12:17.533Z","dependency_job_id":null,"html_url":"https://github.com/ItsNickBarry/buidler-test-isolater","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsNickBarry%2Fbuidler-test-isolater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsNickBarry%2Fbuidler-test-isolater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsNickBarry%2Fbuidler-test-isolater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ItsNickBarry%2Fbuidler-test-isolater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ItsNickBarry","download_url":"https://codeload.github.com/ItsNickBarry/buidler-test-isolater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239425311,"owners_count":19636346,"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","buidler","ethereum","fork","mocha","smart-contracts","solidity","test","wow"],"created_at":"2024-11-07T04:41:51.124Z","updated_at":"2025-11-04T01:30:34.402Z","avatar_url":"https://github.com/ItsNickBarry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buidler Test Isolater\n\nReinitialize the Buidler Runtime Environment before each Mocha test.\n\n## Installation\n\n```bash\nyarn add --dev buidler-test-isolater\n```\n\n## Usage\n\nLoad plugin in Buidler config:\n\n```javascript\nusePlugin('buidler-test-isolater');\n```\n\nThis plugin is intended for use in combination with the `buidler-ganache` plugin when testing against a forked network.  Re-initializing the network before each test prevents errors such as the following:\n\n```\nError: Returned error: project ID does not have access to archive state\n```\n\nThis plugin is not compatible with Mocha `describe`-level [exclusive tests](https://mochajs.org/#exclusive-tests).\n\nIsolated tests are run via a temporary file `.buidler_test_isolater_tmp.js` created in the buidler `tests` directory.  This file is deleted upon test completion, but may not be removed if test execution halts unexpectedly; therefore, it should be added to the `.gitignore` file or deleted manually.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsnickbarry%2Fbuidler-test-isolater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsnickbarry%2Fbuidler-test-isolater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsnickbarry%2Fbuidler-test-isolater/lists"}