Repository navigation
Commit 5427350
committed
test: zero call timestamps before checking that Capacitor secrets are masked
The Capacitor redaction tests checked that the serialized calls never contain 1234, but a startedAt such as 1794072512340 contains those digits too, which failed Test coverage on this branch at random. The checks now zero startedAt and durationMs first, so they still cover every argument and result.1 parent 535fa05 commit 5427350
2 files changed
Lines changed: 7 additions & 2 deletions
File tree
- packages/devtools/src/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
246 | 249 | | |
247 | 250 | | |
248 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments