You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to: `/.netlify/functions/${imagesFunctionName}?path=/images/:splat&deliveryType=${deliveryType}&cloudName=${process.env.CLOUDINARY_CLOUD_NAME}&folder=${process.env.SITE_NAME}`,
53
+
status: 302,
54
+
force: true
55
+
});
56
+
57
+
expect(redirects[1]).toEqual({
58
+
from: 'cld-assets/images/*',
59
+
to: '/images/:splat',
60
+
status: 200,
61
+
force: true
62
+
});
63
+
64
+
expect(redirects[2]).toEqual(defaultRedirect);
65
+
});
66
+
67
+
68
+
test('should create redirects with upload delivery type and custom inputs',async()=>{
to: `/.netlify/functions/${imagesFunctionName}?path=${imagesPath}/:splat&uploadPreset=${uploadPreset}&deliveryType=${deliveryType}&cloudName=${process.env.CLOUDINARY_CLOUD_NAME}&folder=${folder}`,
0 commit comments