File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
jvm/selfie-lib/src/commonMain/kotlin/com/diffplug/selfie Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import com.diffplug.selfie.guts.CallStack
19
19
import com.diffplug.selfie.guts.DiskStorage
20
20
import com.diffplug.selfie.guts.SnapshotSystem
21
21
import com.diffplug.selfie.guts.initSnapshotSystem
22
+ import com.diffplug.selfie.guts.recordCall
22
23
import kotlin.jvm.JvmStatic
23
24
24
25
/* * A getter which may or may not be run. */
@@ -97,6 +98,10 @@ object Selfie {
97
98
@JvmStatic
98
99
@ExperimentalSelfieVcr
99
100
fun vcrTestLocator (sub : String = "") = VcrSelfie .TestLocator (sub, deferredDiskStorage)
101
+
102
+ @JvmStatic
103
+ @ExperimentalSelfieVcr
104
+ fun vcrSelfie (sub : String = "") = VcrSelfie (sub, recordCall(false ), deferredDiskStorage)
100
105
}
101
106
102
107
@RequiresOptIn(
You can’t perform that action at this time.
0 commit comments