File tree 2 files changed +2
-0
lines changed
packages/gatsby/src/utils
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const clearStateToAllowHeuristicsToPass = (): void => {
38
38
delete process . env . GATSBY_FEEDBACK_DISABLED
39
39
// Heuristic 4
40
40
getConfigStore ( ) . set ( `feedback.lastRequestDate` , dateFromSixMonthsAgo )
41
+ getConfigStore ( ) . set ( `feedback.sevenDayFeedbackDate` , dateFromSixMonthsAgo )
41
42
// Heuristic 5
42
43
; ( getGatsbyVersion as jest . Mock ) . mockReturnValue ( `2.1.1` )
43
44
}
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ export async function userPassesFeedbackRequestHeuristic(): Promise<boolean> {
97
97
}
98
98
}
99
99
100
+ // 4.b
100
101
// we don't want to give them this survey right after the seven day feedback survey
101
102
const sevenDayFeedback = getConfigStore ( ) . get ( sevenDayKey )
102
103
if ( sevenDayFeedback ) {
You can’t perform that action at this time.
0 commit comments