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
expect(html).toContain('This is an invalid nested anchor tag')
39
-
expect(mockReporter.error).toHaveBeenCalledWith(expect.stringContaining('index.html'),expect.stringContaining('Element <a> is not permitted as descendant of <a>'))
41
+
expect(mockReporter.error).toHaveBeenCalledWith(
42
+
expect.stringContaining('index.html')
43
+
)
44
+
expect(mockReporter.error).toHaveBeenCalledWith(
45
+
expect.stringContaining(
46
+
'Element <a> is not permitted as descendant of <a>'
0 commit comments