Skip to content

Commit

Permalink
build: update imports for LogType
Browse files Browse the repository at this point in the history
  • Loading branch information
yharaskrik committed Jan 19, 2021
1 parent 5cd6fae commit 2fc9831
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/getLogGroupHeader.ts
@@ -1,6 +1,6 @@
/* global require, module */

import {LogType} from "@jest/console/build/types";
import {LogType} from "@jest/console";

const chalk = require("chalk");

Expand Down
2 changes: 1 addition & 1 deletion lib/getLogGroupKey.ts
@@ -1,6 +1,6 @@
/* global module */
import {Group, Matcher, Rule} from "./types";
import {LogType} from "@jest/console/build/types";
import {LogType} from "@jest/console";

export const matchWith = (matcher: Matcher, message: string, type: LogType) => {
if (matcher instanceof RegExp) {
Expand Down
2 changes: 1 addition & 1 deletion lib/getLogGroupSummary.ts
@@ -1,7 +1,7 @@
/* global require module */

import {getLogGroupHeader, getSkippedHeader} from "./getLogGroupHeader";
import {LogType} from "@jest/console/build/types";
import {LogType} from "@jest/console";

const chalk = require("chalk");

Expand Down
2 changes: 1 addition & 1 deletion lib/types.ts
@@ -1,4 +1,4 @@
import {LogType} from "@jest/console/build/types";
import {LogType} from "@jest/console";

export type Matcher = RegExp | string | ((message: string, type: LogType) => boolean)

Expand Down

0 comments on commit 2fc9831

Please sign in to comment.