{"id":41309,"library":"jest-bamboo-formatter","title":"jest-bamboo-formatter","description":"A Jest reporter that generates a test report compatible with Atlassian Bamboo's Mocha Test Parser, enabling Bamboo CI to parse Jest results. Version 1.0.0 is the current stable release. The package is a fork of eslint-bamboo-formatter and outputs a JSON file (default jest.json) that Bamboo can consume. It has no dependencies and is intended for use in Bamboo CI pipelines. Emits no external side effects beyond writing the report file. Does not support Jest's reporters configuration; uses the older testResultsProcessor option.","status":"active","version":"1.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/adalbertoteixeira/jest-bamboo-formatter","tags":["javascript","jest","formatter","atlassian","bamboo"],"install":[{"cmd":"npm install jest-bamboo-formatter","lang":"bash","label":"npm"},{"cmd":"yarn add jest-bamboo-formatter","lang":"bash","label":"yarn"},{"cmd":"pnpm add jest-bamboo-formatter","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"The package does not export any symbols; it is consumed via Jest's testResultsProcessor configuration.","symbol":"default","correct":"module.exports = require('jest-bamboo-formatter')"}],"quickstart":{"code":"// jest.config.js\nmodule.exports = {\n  testResultsProcessor: 'jest-bamboo-formatter'\n};","lang":"javascript","description":"Shows how to configure Jest to use jest-bamboo-formatter as the test results processor."},"warnings":[{"fix":"Set JEST_FILE environment variable to a unique path, e.g., 'JEST_FILE=test-results.json'.","message":"Output file name defaults to 'jest.json' unless overridden by JEST_FILE environment variable. This can overwrite previous reports.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Do not specify reporters in Jest config if using testResultsProcessor.","message":"Package uses testResultsProcessor, not reporters. Using both may cause unexpected behavior.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Run Jest from the directory where you want the report to appear or provide an absolute path via JEST_FILE.","message":"Output file is written relative to current working directory, not the Jest config location.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Ensure your Bamboo job uses the 'Mocha Test Parser' not the JUnit parser.","message":"Only supports Mocha test parser format; not compatible with Bamboo's JUnit Parser.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.0.0':29 'atlassian':15,94 'bamboo':3,16,22,43,53,66,95 'beyond':74 'ci':23,67 'compat':13 'configur':85 'consum':55 'current':32 'default':50 'depend':59 'effect':73 'emit':69 'enabl':21 'eslint':42 'eslint-bamboo-formatt':41 'extern':71 'file':49,78 'fork':39 'formatt':4,44,93 'generat':9 'intend':62 'javascript':91 'jest':2,6,26,82,92 'jest-bamboo-formatt':1 'jest.json':51 'json':48 'mocha':18 'older':88 'option':90 'output':46 'packag':36 'pars':25 'parser':20 'pipelin':68 'releas':34 'report':7,12,77,84 'result':27 'side':72 'stabl':33 'support':81 'test':11,19 'testresultsprocessor':89 'use':64,86 'version':28 'write':75","created_at":"2026-06-04T18:51:47.398381+00:00","updated_at":"2026-06-04T18:51:47.398381+00:00","problems":[{"fix":"Run 'npm install jest-bamboo-formatter' and verify node_modules path.","cause":"Package not installed or testResultsProcessor path is incorrect.","error":"Cannot find module 'jest-bamboo-formatter'"},{"fix":"Set testResultsProcessor to a single string.","cause":"Providing testResultsProcessor as an array (e.g., multiple processors) is not supported.","error":"Jest testResultsProcessor must be a string, not an array"},{"fix":"Check Jest version compatibility (Jest >=25) and ensure there are no syntax errors in test files.","cause":"The formatter may have failed or output corrupt data.","error":"TypeError: Jest: Got unexpected result from testResultsProcessor. Expected an object with 'testResults' array."}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/adalbertoteixeira/jest-bamboo-formatter","github":"https://github.com/adalbertoteixeira/jest-bamboo-formatter","docs":null,"changelog":null,"pypi":null,"npm":"jest-bamboo-formatter","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}