Extracted suite building out of Env

This commit is contained in:
Steve Gravrock
2021-11-22 13:20:03 -08:00
parent 72b39220e5
commit d6cdc1841c
6 changed files with 871 additions and 612 deletions

View File

@@ -316,7 +316,7 @@ describe('Env', function() {
it('calls spec.exclude with "Temporarily disabled with xit"', function() {
const excludeSpy = jasmine.createSpy();
spyOn(env, 'it_').and.returnValue({
spyOn(jasmineUnderTest.SuiteBuilder.prototype, 'it_').and.returnValue({
exclude: excludeSpy
});
env.xit('foo', function() {});
@@ -327,7 +327,7 @@ describe('Env', function() {
const pendSpy = jasmine.createSpy();
const realExclude = jasmineUnderTest.Spec.prototype.exclude;
spyOn(env, 'it_').and.returnValue({
spyOn(jasmineUnderTest.SuiteBuilder.prototype, 'it_').and.returnValue({
exclude: realExclude,
pend: pendSpy
});