happy-server/sources/storage/processImage.spec.ts
2025-08-26 21:56:03 -07:00

10 lines
321 B
TypeScript

import * as fs from 'fs';
import { processImage } from './processImage';
import { describe, it } from 'vitest';
describe('processImage', () => {
it('should resize image', async () => {
let img = fs.readFileSync(__dirname + '/__testdata__/image.jpg');
let result = await processImage(img);
});
});