fix(snapshot): toMatchFileSnapshot
ensure dir exists
#3155
Merged
toMatchFileSnapshot
ensure dir exists
#3155