harden type

This commit is contained in:
Yury Semikhatsky 2024-03-08 15:33:50 -08:00
parent 988ffefe2c
commit 4d10d72e91

View file

@ -121,7 +121,7 @@ class SnapshotHelper {
// // noop
// expect.toMatchSnapshot('a.png')
let inputPathSegments: NameOrSegments | undefined;
let inputPathSegments: string[];
if (!name) {
const fullTitleWithoutSpec = [
...testInfo.titlePath.slice(1),