jest-watcher
Advanced tools
Comparing version 28.0.0-alpha.8 to 28.0.0-alpha.9
@@ -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 @@ |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23825
15
790
8
+ Addedemittery@^0.10.2
+ Addedemittery@0.10.2(transitive)
Updated@jest/types@^28.0.0-alpha.9
Updatedjest-util@^28.0.0-alpha.9