{"id":17795444,"url":"https://github.com/maximeheckel/jest-runner-go","last_synced_at":"2026-03-07T20:31:57.071Z","repository":{"id":57280428,"uuid":"110315089","full_name":"MaximeHeckel/jest-runner-go","owner":"MaximeHeckel","description":"A Golang runner for Jest","archived":false,"fork":false,"pushed_at":"2017-11-25T17:04:15.000Z","size":79,"stargazers_count":22,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T15:08:09.322Z","etag":null,"topics":["golang","jest","runner"],"latest_commit_sha":null,"homepage":null,"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/MaximeHeckel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-11T03:33:02.000Z","updated_at":"2022-04-15T09:31:00.000Z","dependencies_parsed_at":"2022-09-19T17:21:04.900Z","dependency_job_id":null,"html_url":"https://github.com/MaximeHeckel/jest-runner-go","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeHeckel%2Fjest-runner-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeHeckel%2Fjest-runner-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeHeckel%2Fjest-runner-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeHeckel%2Fjest-runner-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaximeHeckel","download_url":"https://codeload.github.com/MaximeHeckel/jest-runner-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243832842,"owners_count":20355158,"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":["golang","jest","runner"],"created_at":"2024-10-27T11:30:59.018Z","updated_at":"2026-03-07T20:31:57.005Z","avatar_url":"https://github.com/MaximeHeckel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/MaximeHeckel/jest-runner-go.svg?branch=master)](https://travis-ci.org/MaximeHeckel/jest-runner-go) [![npm version](https://badge.fury.io/js/jest-runner-go.svg)](https://badge.fury.io/js/jest-runner-go)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"150\" height=\"150\" src=\"https://newrelic.com/assets/pages/golang/go-mascot.svg\"\u003e\n  \u003ca href=\"https://facebook.github.io/jest/\"\u003e\n\t\u003cimg width=\"150\" height=\"150\" vspace=\"\" hspace=\"25\" src=\"https://cdn.worldvectorlogo.com/logos/jest.svg\"\u003e\n  \u003c/a\u003e\n  \u003ch1\u003eJest-Runner-Go\u003c/h1\u003e\n  \u003cp\u003eGo runner for Jest\u003c/p\u003e\n\u003c/div\u003e\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://i.imgur.com/xMJ6Agb.gif\"\u003e\n\u003c/div\u003e\n\n## Usage\n\n### Install\n\nInstall `jest` version 21 or above and `jest-runner-go`:\n\nWith `Yarn`\n\n```bash\n\nyarn add -D jest jest-runner-go\n```\n\n\nWith `NPM`\n\n```bash\nnpm install --save-dev jest jest-runner-go\n```\n\n### Add it to your project\n\nAdd the following to your `package.json`\n```json\n\"jest\": {\n\t\"moduleFileExtensions\": [\n\t  \"go\"\n\t],\n\t\"runner\": \"jest-runner-go\",\n\t\"testMatch\": [\n\t  \"**/?(*_)test.go\"\n\t]\n},\n```\n\nOr to your `jest.config.js`\n```js\nmodule.exports = {\n  runner: 'jest-runner-go',\n  moduleFileExtensions: [\"go\"],\n  testMatch: ['**/?(*_)test.go'],\n};\n```\n\nThen simply run Jest\n```\nyarn jest\n```\n\n### Contribute\n\n1. `git pull git@github.com:MaximeHeckel/jest-runner-go.git` (preferably in your GOPATH if you want to run the examples on your machine)\n2. Run `npm install` or `yarn` to install the dependencies of the project\n3. To build the project run `yarn build`\n4. To run the tests (unit and integration) `yarn test` or\n   you can also run them using Docker with the `Dockerfile` provided in this project:\n   ```bash\n   docker build -t jest-runner-go .\n   docker run jest-runner-go\n   ```\n5. To run the example `cd example \u0026\u0026 yarn test` or\n   you can also run it using Docker by running this command\n   ```bash\n   docker run -it jest-runner-go sh -c \"cd example \u0026\u0026 yarn test\"\n   ```\n\nIf you want to test your development version of `jest-runner-go` on another project do the following:\n\n1. In the `jest-runner-go`folder run `yarn build \u0026\u0026 yarn link`\n2. In your other projects run `yarn link jest-runner-go`\n\nYour project will now use your local `jest-runner-go`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximeheckel%2Fjest-runner-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximeheckel%2Fjest-runner-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximeheckel%2Fjest-runner-go/lists"}