message: [tests] Add test for animated gif bypass
  Animated gif should bypass (serve as-is).
  This is to avoid the time it takes to optimize animated images which can sometimes take minutes.
  It also matches how `next dev` works so we want to stay consistent (this tests both dev and a deployment).
diff: @@ -1706,12 +1706,13 @@ test(
  expectHeader('image/svg+xml'),
  fetchOpts('image/webp')
  );
  + // animated gif should bypass: serve as-is
  await testPath(
  200,
  toUrl('/animated.gif', 64, 60),
  null,
  expectHeader('image/gif'),
  - fetchOpts('image/gif')
  + fetchOpts('image/webp')
  );
  })
  );
  