Commit 2b516e9
committed
fix: stringify sinon.Call.args[1] before regex test
CI's TypeScript was stricter than the local version and rejected the
untyped `c.args[1]` passed to `RegExp.test()`. Wrap in `String(...)`
so the tests compile on Node 14/16/18/20 runners.
Co-authored-by: Isaac
Signed-off-by: samikshya-chand_data <samikshya.chand@databricks.com>1 parent 7ba52a5 commit 2b516e9
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
312 | 314 | | |
313 | 315 | | |
314 | 316 | | |
| |||
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
330 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
331 | 335 | | |
332 | 336 | | |
333 | 337 | | |
| |||
0 commit comments