Commit 4cf6fc6
committed
fix: update tests to match simplified recordLatency implementation
The simplified implementation only updates debounce delay after exceeding
10 samples (on the 11th sample and beyond), not when exactly 10 samples
are collected. Updated tests to reflect this behavior.1 parent a178750 commit 4cf6fc6
File tree
2 files changed
+15
-11
lines changed- src/services/ghost/classic-auto-complete
- __tests__
2 files changed
+15
-11
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | 292 | | |
294 | | - | |
295 | | - | |
| 293 | + | |
296 | 294 | | |
297 | 295 | | |
298 | 296 | | |
| |||
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2002 | 2002 | | |
2003 | 2003 | | |
2004 | 2004 | | |
2005 | | - | |
2006 | | - | |
| 2005 | + | |
| 2006 | + | |
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
2010 | 2010 | | |
2011 | 2011 | | |
2012 | 2012 | | |
2013 | 2013 | | |
2014 | | - | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
2015 | 2020 | | |
2016 | 2021 | | |
2017 | 2022 | | |
| |||
2029 | 2034 | | |
2030 | 2035 | | |
2031 | 2036 | | |
2032 | | - | |
2033 | | - | |
2034 | | - | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
2035 | 2040 | | |
2036 | 2041 | | |
2037 | 2042 | | |
| |||
2062 | 2067 | | |
2063 | 2068 | | |
2064 | 2069 | | |
2065 | | - | |
2066 | | - | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
2067 | 2073 | | |
2068 | 2074 | | |
2069 | 2075 | | |
| |||
0 commit comments