Commit 5f96fdb
committed
Reset the pricing refresh latch before each test, not just after
schedulePricingMetadataRefresh guards itself with a module-level
one-shot flag shared by the whole test process. Any other file that
exercises loadConfig's real bootstrap path leaves that flag set to
true and never clears it, so this file's own first test silently
inherited "already scheduled" from whichever file ran before it and
its offlineFetch was never called.1 parent 376ab20 commit 5f96fdb
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
| |||
0 commit comments