Merge pull request #13011 from backstage/freben/the-spanish-inquisition
Expect the unexpected
This commit is contained in:
@@ -429,6 +429,7 @@ describe('Default Processing Database', () => {
|
||||
if (step.expectConflict) {
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect(mockLogger.warn).toHaveBeenCalledWith(
|
||||
// eslint-disable-next-line jest/no-conditional-expect
|
||||
expect.stringMatching(/^Detected conflicting entityRef/),
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user