CI: Fix npm smoke test expectation

libvips v8.15.1 added jfif to suffixes
This commit is contained in:
Lovell Fuller 2024-01-11 18:47:19 +00:00
parent 49cb148b38
commit c30d355f97

View File

@ -127,7 +127,7 @@ jobs:
contents: |
import { deepStrictEqual } from 'node:assert';
import sharp from 'sharp';
deepStrictEqual(['.jpg', '.jpeg', '.jpe'], sharp.format.jpeg.input.fileSuffix);
deepStrictEqual(['.jpg', '.jpeg', '.jpe', '.jfif'], sharp.format.jpeg.input.fileSuffix);
- name: Run with Node.js + npm
if: ${{ matrix.package-manager == 'npm' }}