harden type
This commit is contained in:
parent
988ffefe2c
commit
4d10d72e91
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue