Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump deps #10516

Merged
merged 2 commits into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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