Created
March 16, 2018 19:57
-
-
Save schmidt-sebastian/40496c08e13f3c415f8e047b48a9e8ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=================================================================== | |
--- test/unit/specs/spec_builder.ts (date 1521229074000) | |
+++ test/unit/specs/spec_builder.ts (date 1521229074000) | |
@@ -196,7 +196,6 @@ | |
return this; | |
} | |
-<<<<<<< HEAD | |
// PORTING NOTE: Only used by web multi-tab tests. | |
becomeHidden(): SpecBuilder { | |
this.nextStep(); | |
@@ -212,11 +211,12 @@ | |
this.currentStep = { | |
applyClientState: { visibility: 'visible' } | |
}; | |
-======= | |
+ return this; | |
+ } | |
+ | |
runTimer(timerId: TimerId) { | |
this.nextStep(); | |
this.currentStep = { runTimer: timerId }; | |
->>>>>>> master | |
return this; | |
} | |
@@ -260,17 +260,6 @@ | |
this.resetInMemoryState(); | |
return this; | |
} | |
- | |
- // TODO: Replace with .runTimer(TimerId.ClientStateRefresh) once #412 is | |
- // merged. | |
- // PORTING NOTE: Only used by web multi-tab tests. | |
- tryAcquirePrimaryLease(): SpecBuilder { | |
- this.nextStep(); | |
- this.currentStep = { | |
- acquirePrimaryLease: true | |
- }; | |
- return this; | |
- } | |
shutdown(): SpecBuilder { | |
this.nextStep(); | |
@@ -791,6 +780,11 @@ | |
super.becomeVisible(); | |
return this; | |
} | |
+ | |
+ runTimer(timerId: TimerId) { | |
+ super.runTimer(timerId); | |
+ return this; | |
+ } | |
changeUser(uid: string | null): MultiClientSpecBuilder { | |
super.changeUser(uid); | |
@@ -811,11 +805,6 @@ | |
super.restart(); | |
return this; | |
} | |
- | |
- tryAcquirePrimaryLease(): MultiClientSpecBuilder { | |
- super.tryAcquirePrimaryLease(); | |
- return this; | |
- } | |
expectActiveTargets(...targets): MultiClientSpecBuilder { | |
super.expectActiveTargets(...targets); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment