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