Now you can test a view for different screen sizes like this:
expect(view).toMatchSnapshot(for: [.iPhone8])
or
expect(view).toMatchSnapshot(for: .allDevices)
or
expect(view).toMatchSnapshot(for: .iPhoneDevices)
or
expect(view).toMatchSnapshot(for: .iPadDevices)
This PR fixes #21
Now you can test a view for different screen sizes like this: