Socket
Socket
Sign inDemoInstall

jest-teamcity

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-teamcity - npm Package Compare versions

Comparing version 1.9.0 to 1.10.0

4

__tests__/index.js

@@ -56,6 +56,2 @@ const consoleOutput = [

afterAll(() => {
console.log = consoleFn;
});
describe("module", () => {

@@ -62,0 +58,0 @@ it("enabled (with TEAMCITY_VERSION)", () => {

2

lib/formatter.js

@@ -127,3 +127,3 @@ "use strict";

if (testFile.testExecError && testFile.testResults.length === 0) {
if (testFile.testExecError) {
suites[filename] = suites[filename] || {};

@@ -130,0 +130,0 @@ suites[filename]['_tests_'] = [{

{
"name": "jest-teamcity",
"version": "1.9.0",
"version": "1.10.0",
"description": "Teamcity Reporter for Jest Testing framework",

@@ -9,4 +9,4 @@ "homepage": "https://github.com/itereshchenkov/jest-teamcity",

"devDependencies": {
"jest": "^26.4.2",
"prettier": "^2.1.2"
"jest": "^27.0.6",
"prettier": "^2.3.2"
},

@@ -13,0 +13,0 @@ "scripts": {

@@ -19,10 +19,8 @@ # jest-teamcity

Put this into jest configuration file or package.json
Add this into the jest configuration file:
```javascript
"jest": {
"reporters": ["default", "jest-teamcity"]
}
"reporters": ["default", "jest-teamcity"]
```
The reporter is enabled only if `TEAMCITY_VERSION` variable is set. It should work in TeamCity by default.
The reporter is enabled only if `TEAMCITY_VERSION` environment variable is set. It should work in TeamCity by default.

@@ -42,4 +40,6 @@ To be able to run the tests with the reporter locally, environment variable should be set:

With this configuration, you can run the tests with `npm test`. If the `TEAMCITY_VERSION` environment variable is set, it produces the output in TeamCity's format. Otherwise, standard jest output is produced.
### License
MIT © [Ivan Tereshchenkov]
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc