Skip to content

Commit

Permalink
chore: bump deps (#10516)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Sep 15, 2020
1 parent ac73de8 commit 23f425c
Show file tree
Hide file tree
Showing 9 changed files with 164 additions and 177 deletions.
3 changes: 0 additions & 3 deletions packages/jest-circus/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ export const TEST_TIMEOUT_SYMBOL = (Symbol.for(
'TEST_TIMEOUT_SYMBOL',
) as unknown) as 'TEST_TIMEOUT_SYMBOL';

// https://github.com/typescript-eslint/typescript-eslint/issues/2523
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare global {
module NodeJS {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface Global {
STATE_SYM_SYMBOL: Circus.State;
RETRY_TIMES_SYMBOL: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"jest-util": "^26.3.0",
"jest-validate": "^26.4.2",
"prompts": "^2.0.1",
"yargs": "^16.0.1"
"yargs": "^16.0.3"
},
"devDependencies": {
"@jest/test-utils": "^26.3.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/jest-jasmine2/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,8 @@ export type Jasmine = {
} & typeof expect &
NodeJS.Global;

// https://github.com/typescript-eslint/typescript-eslint/issues/2523
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare global {
module NodeJS {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface Global {
expect: typeof expect;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-repl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"jest-runtime": "^26.4.2",
"jest-validate": "^26.4.2",
"repl": "^0.1.3",
"yargs": "^16.0.1"
"yargs": "^16.0.3"
},
"devDependencies": {
"@jest/test-utils": "^26.3.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/jest-resolve/src/defaultResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ type ResolverOptions = {
packageFilter?: ResolveOpts['packageFilter'];
};

// https://github.com/typescript-eslint/typescript-eslint/issues/2523
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare global {
namespace NodeJS {
export interface ProcessVersions {
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"jest-validate": "^26.4.2",
"slash": "^3.0.0",
"strip-bom": "^4.0.0",
"yargs": "^16.0.1"
"yargs": "^16.0.3"
},
"devDependencies": {
"@jest/test-utils": "^26.3.0",
Expand Down
6 changes: 2 additions & 4 deletions packages/jest-snapshot/src/inline_snapshots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ import semver = require('semver');
import {file, templateElement, templateLiteral} from '@babel/types';
import type {Frame} from 'jest-message-util';
import type {
BuiltInParsers as PrettierBuiltInParsers,
CustomParser as PrettierCustomParser,
BuiltInParser as PrettierParser,
BuiltInParserName as PrettierParserName,
} from 'prettier';
import type {Config} from '@jest/types';
import type {BabelTraverse, Prettier} from './types';
import {escapeBacktickString} from './utils';

type PrettierParserMap = Record<PrettierParserName, PrettierParser>;

export type InlineSnapshot = {
snapshot: string;
frame: Frame;
Expand Down Expand Up @@ -164,7 +162,7 @@ const indent = (snapshot: string, numIndents: number, indentation: string) => {
};

const getAst = (
parsers: PrettierParserMap,
parsers: PrettierBuiltInParsers,
inferredParser: PrettierParserName,
text: string,
) => {
Expand Down
3 changes: 0 additions & 3 deletions packages/pretty-format/src/__tests__/setPrettyPrint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@
import prettyFormat from '../';
import type {OptionsReceived, Plugins} from '../types';

// https://github.com/typescript-eslint/typescript-eslint/issues/2523
// eslint-disable-next-line @typescript-eslint/no-unused-vars
declare global {
namespace jest {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface Matchers<R> {
toPrettyPrintTo(expected: unknown, options?: OptionsReceived): R;
}
Expand Down
Loading

0 comments on commit 23f425c

Please sign in to comment.