Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-watcher

Package Overview
Dependencies
Maintainers
5
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-watcher - npm Package Compare versions

Comparing version 28.0.0-alpha.8 to 28.0.0-alpha.9

build/TestWatcher.js

16

build/index.d.ts

@@ -11,2 +11,3 @@ /**

import type {Config} from '@jest/types';
import Emittery = require('emittery');

@@ -172,2 +173,6 @@ export declare type AllowedConfigOptions = Partial<

declare type State = {
interrupted: boolean;
};
declare type TestRunComplete = (results: AggregatedResult) => void;

@@ -181,2 +186,13 @@

export declare class TestWatcher extends Emittery<{
change: State;
}> {
state: State;
private _isWatchMode;
constructor({isWatchMode}: {isWatchMode: boolean});
setState(state: State): Promise<void>;
isInterrupted(): boolean;
isWatchMode(): boolean;
}
export declare type UpdateConfigCallback = (

@@ -183,0 +199,0 @@ config?: AllowedConfigOptions,

@@ -10,2 +10,3 @@ 'use strict';

PatternPrompt: true,
TestWatcher: true,
Prompt: true

@@ -37,2 +38,8 @@ };

});
Object.defineProperty(exports, 'TestWatcher', {
enumerable: true,
get: function () {
return _TestWatcher.default;
}
});

@@ -45,2 +52,4 @@ var _BaseWatchPlugin = _interopRequireDefault(require('./BaseWatchPlugin'));

var _TestWatcher = _interopRequireDefault(require('./TestWatcher'));
var _constants = require('./constants');

@@ -47,0 +56,0 @@

13

package.json
{
"name": "jest-watcher",
"description": "Delightful JavaScript Testing.",
"version": "28.0.0-alpha.8",
"version": "28.0.0-alpha.9",
"main": "./build/index.js",

@@ -15,8 +15,9 @@ "types": "./build/index.d.ts",

"dependencies": {
"@jest/test-result": "^28.0.0-alpha.8",
"@jest/types": "^28.0.0-alpha.8",
"@jest/test-result": "^28.0.0-alpha.9",
"@jest/types": "^28.0.0-alpha.9",
"@types/node": "*",
"ansi-escapes": "^4.2.1",
"chalk": "^4.0.0",
"jest-util": "^28.0.0-alpha.8",
"emittery": "^0.10.2",
"jest-util": "^28.0.0-alpha.9",
"string-length": "^4.0.1"

@@ -26,3 +27,3 @@ },

"type": "git",
"url": "https://github.com/facebook/jest",
"url": "https://github.com/facebook/jest.git",
"directory": "packages/jest-watcher"

@@ -41,3 +42,3 @@ },

},
"gitHead": "d915e7df92b220dbe6e124585ba6459838a6c41c"
"gitHead": "7c63f5981eb20d4b89a4c04f3675e0050d8d7887"
}
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