mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
chore(tests): fix use of jest-diff (#3215)
Jest 27 changed the signature for jest-diff. This bug only arises from failing tests.
This commit is contained in:
@@ -3,7 +3,7 @@ import ParseError from "../src/ParseError";
|
|||||||
import parseTree from "../src/parseTree";
|
import parseTree from "../src/parseTree";
|
||||||
import Settings from "../src/Settings";
|
import Settings from "../src/Settings";
|
||||||
|
|
||||||
import diff from 'jest-diff';
|
import {diff} from 'jest-diff';
|
||||||
import {RECEIVED_COLOR, printReceived, printExpected} from 'jest-matcher-utils';
|
import {RECEIVED_COLOR, printReceived, printExpected} from 'jest-matcher-utils';
|
||||||
import {formatStackTrace, separateMessageFromStack} from 'jest-message-util';
|
import {formatStackTrace, separateMessageFromStack} from 'jest-message-util';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user