Check for and silence suite reentry warnings in Jasmine's own tests
This commit is contained in:
@@ -787,6 +787,7 @@ describe('TreeProcessor', function() {
|
||||
runQueue
|
||||
});
|
||||
|
||||
spyOn(jasmineUnderTest.getEnv(), 'deprecated');
|
||||
processor.execute();
|
||||
const queueableFns = runQueue.calls.mostRecent().args[0].queueableFns;
|
||||
expect(queueableFns.length).toBe(5);
|
||||
@@ -831,6 +832,7 @@ describe('TreeProcessor', function() {
|
||||
runQueue
|
||||
});
|
||||
|
||||
spyOn(jasmineUnderTest.getEnv(), 'deprecated');
|
||||
processor.execute();
|
||||
const queueableFns = runQueue.calls.mostRecent().args[0].queueableFns;
|
||||
expect(queueableFns.length).toBe(5);
|
||||
|
||||
Reference in New Issue
Block a user