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
1919import com.diffplug.selfie.guts.DiskStorage
2020import com.diffplug.selfie.guts.SnapshotSystem
2121import com.diffplug.selfie.guts.initSnapshotSystem
22+ import com.diffplug.selfie.guts.recordCall
2223import kotlin.jvm.JvmStatic
2324
2425/* * A getter which may or may not be run. */
@@ -97,6 +98,10 @@ object Selfie {
9798 @JvmStatic
9899 @ExperimentalSelfieVcr
99100 fun vcrTestLocator (sub : String = "") = VcrSelfie .TestLocator (sub, deferredDiskStorage)
101+
102+ @JvmStatic
103+ @ExperimentalSelfieVcr
104+ fun vcrSelfie (sub : String = "") = VcrSelfie (sub, recordCall(false ), deferredDiskStorage)
100105}
101106
102107@RequiresOptIn(
You can’t perform that action at this time.
0 commit comments