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 // // noop
// expect.toMatchSnapshot('a.png') // expect.toMatchSnapshot('a.png')
let inputPathSegments: NameOrSegments | undefined; let inputPathSegments: string[];
if (!name) { if (!name) {
const fullTitleWithoutSpec = [ const fullTitleWithoutSpec = [
...testInfo.titlePath.slice(1), ...testInfo.titlePath.slice(1),