-
Notifications
You must be signed in to change notification settings - Fork 38
/
types.ts
87 lines (84 loc) · 2.19 KB
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/* eslint-disable */
import type {DynamoDB} from '@aws-sdk/client-dynamodb';
import type {CreateTableCommandInput} from '@aws-sdk/client-dynamodb';
import type {DynamoDBClientConfig} from '@aws-sdk/client-dynamodb';
import type {ChildProcess} from 'child_process';
import type {InstallerConfig} from 'dynamodb-local';
import type {argValues} from 'dynamodb-local';
declare global {
var __DYNAMODB_CLIENT__: DynamoDB;
var __DYNAMODB__: ChildProcess;
}
export type JestArgs = {
bail: number;
changedSince?: string;
changedFilesWithAncestor: boolean;
ci: boolean;
collectCoverage: boolean;
collectCoverageFrom: Array<string>;
collectCoverageOnlyFrom?: {
[key: string]: boolean;
};
coverageDirectory: string;
coveragePathIgnorePatterns?: Array<string>;
coverageProvider: object;
coverageReporters: object;
coverageThreshold?: object;
detectLeaks: boolean;
detectOpenHandles: boolean;
expand: boolean;
filter?: string;
findRelatedTests: boolean;
forceExit: boolean;
json: boolean;
globalSetup?: string;
globalTeardown?: string;
lastCommit: boolean;
logHeapUsage: boolean;
listTests: boolean;
maxConcurrency: number;
maxWorkers: number;
noStackTrace: boolean;
nonFlagArgs: Array<string>;
noSCM?: boolean;
notify: boolean;
notifyMode: object;
outputFile?: string;
onlyChanged: boolean;
onlyFailures: boolean;
passWithNoTests: boolean;
projects: Array<string>;
replname?: string;
reporters?: Array<object>;
runTestsByPath: boolean;
rootDir: string;
shard?: object;
silent?: boolean;
skipFilter: boolean;
snapshotFormat: object;
errorOnDeprecated: boolean;
testFailureExitCode: number;
testNamePattern?: string;
testPathPattern: string;
testResultsProcessor?: string;
testSequencer: string;
testTimeout?: number;
updateSnapshot: object;
useStderr: boolean;
verbose?: boolean;
watch: boolean;
watchAll: boolean;
watchman: boolean;
watchPlugins?: Array<{
path: string;
config: Record<string, unknown>;
}> | null;
};
export type Config = {
tables: CreateTableCommandInput[];
clientConfig?: DynamoDBClientConfig;
installerConfig?: InstallerConfig;
port?: number;
hostname?: string;
options?: argValues[];
};