You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`.toEqual() {pass: false} expect("type TypeName<T> = T extends Function ? \\"function\\" : \\"object\\";").toEqual("type TypeName<T> = T extends Function
1978
+
? \\"function\\"
1979
+
: \\"object\\";") 1`] = `
1980
+
"<dim>expect(</><red>received</><dim>).</>toEqual<dim>(</><green>expected</><dim>) // deep equality</>
1981
+
1982
+
<green>- Expected</>
1983
+
<red>+ Received</>
1984
+
1985
+
<green>- type TypeName<T> = T extends Function</>
1986
+
<green>- ? \\"function\\"</>
1987
+
<green>- : \\"object\\";</>
1988
+
<red>+ type TypeName<T> = T extends Function<inverse> </>? \\"function\\"<inverse> </>: \\"object\\";</>"
@@ -3527,6 +3564,29 @@ Expected: <green>\\"<inverse>Another caveat is that</> Jest will not typecheck y
3527
3564
Received: <red>\\"<inverse>Because TypeScript support in Babel is just transpilation,</> Jest will not type<inverse>-</>check your tests<inverse> as they run</>.\\"</>"
3528
3565
`;
3529
3566
3567
+
exports[`.toStrictEqual() displays substring diff for multiple lines 1`] = `
3568
+
"<dim>expect(</><red>received</><dim>).</>toStrictEqual<dim>(</><green>expected</><dim>) // deep equality</>
0 commit comments