Updating NPM dependencies
This commit is contained in:
56
node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts
generated
vendored
56
node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.d.ts
generated
vendored
@@ -5,44 +5,36 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
/// <reference types="node" />
|
||||
import { Circus, Config, Global } from '@jest/types';
|
||||
import { JestEnvironment } from '@jest/environment';
|
||||
import type BabelTraverse from '@babel/traverse';
|
||||
import type { JestEnvironment } from '@jest/environment';
|
||||
import { TestResult } from '@jest/test-result';
|
||||
export declare const initialize: ({ config, environment, getPrettier, getBabelTraverse, globalConfig, localRequire, parentProcess, testPath, }: {
|
||||
import type { Config, Global } from '@jest/types';
|
||||
import type { TestFileEvent } from 'jest-runner';
|
||||
import { SnapshotStateType } from 'jest-snapshot';
|
||||
import globals from '..';
|
||||
import { Expect } from './jestExpect';
|
||||
declare type Process = NodeJS.Process;
|
||||
interface JestGlobals extends Global.TestFrameworkGlobals {
|
||||
expect: Expect;
|
||||
}
|
||||
export declare const initialize: ({ config, environment, getPrettier, getBabelTraverse, globalConfig, localRequire, parentProcess, sendMessageToJest, setGlobalsForRuntime, testPath, }: {
|
||||
config: Config.ProjectConfig;
|
||||
environment: JestEnvironment;
|
||||
getPrettier: () => any;
|
||||
getBabelTraverse: () => Function;
|
||||
getPrettier: () => null | any;
|
||||
getBabelTraverse: () => typeof BabelTraverse;
|
||||
globalConfig: Config.GlobalConfig;
|
||||
localRequire: (path: string) => any;
|
||||
testPath: string;
|
||||
parentProcess: NodeJS.Process;
|
||||
}) => {
|
||||
globals: {
|
||||
afterAll: (fn: Circus.HookFn, timeout?: number | undefined) => void;
|
||||
afterEach: (fn: Circus.HookFn, timeout?: number | undefined) => void;
|
||||
beforeAll: (fn: Circus.HookFn, timeout?: number | undefined) => void;
|
||||
beforeEach: (fn: Circus.HookFn, timeout?: number | undefined) => void;
|
||||
describe: {
|
||||
(blockName: string, blockFn: Global.BlockFn): void;
|
||||
each: (table: Global.EachTable, ...taggedTemplateData: unknown[]) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
|
||||
only: {
|
||||
(blockName: string, blockFn: Global.BlockFn): void;
|
||||
each: (table: Global.EachTable, ...taggedTemplateData: unknown[]) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
|
||||
};
|
||||
skip: {
|
||||
(blockName: string, blockFn: Global.BlockFn): void;
|
||||
each: (table: Global.EachTable, ...taggedTemplateData: unknown[]) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
|
||||
};
|
||||
};
|
||||
it: Global.It;
|
||||
test: Global.It;
|
||||
};
|
||||
snapshotState: import("jest-snapshot/build/State").default;
|
||||
};
|
||||
localRequire: <T = unknown>(path: Config.Path) => T;
|
||||
testPath: Config.Path;
|
||||
parentProcess: Process;
|
||||
sendMessageToJest?: import("jest-runner/build/types").TestFileEvent<"test-file-start" | "test-file-success" | "test-file-failure" | "test-case-result"> | undefined;
|
||||
setGlobalsForRuntime?: ((globals: JestGlobals) => void) | undefined;
|
||||
}) => Promise<{
|
||||
globals: Global.TestFrameworkGlobals;
|
||||
snapshotState: SnapshotStateType;
|
||||
}>;
|
||||
export declare const runAndTransformResultsToJestFormat: ({ config, globalConfig, testPath, }: {
|
||||
config: Config.ProjectConfig;
|
||||
globalConfig: Config.GlobalConfig;
|
||||
testPath: string;
|
||||
}) => Promise<TestResult>;
|
||||
//# sourceMappingURL=jestAdapterInit.d.ts.map
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user