add checkout config to recorder (#36)
* add checkout config to recorder * add test cases for checkout feature and extract assertSnapshot method
This commit is contained in:
@@ -99,7 +99,9 @@ export type eventWithTime = event & {
|
||||
};
|
||||
|
||||
export type recordOptions = {
|
||||
emit?: (e: eventWithTime) => void;
|
||||
emit?: (e: eventWithTime, isCheckout?: boolean) => void;
|
||||
checkoutEveryNth?: number;
|
||||
checkoutEveryNms?: number;
|
||||
};
|
||||
|
||||
export type observerParam = {
|
||||
|
||||
Reference in New Issue
Block a user