fix: fix image
This commit is contained in:
parent
8156f958a3
commit
86c0a03bfc
@ -1,5 +1,7 @@
|
|||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import { processImage } from './processImage';
|
import { processImage } from './processImage';
|
||||||
|
import { describe, it } from 'vitest';
|
||||||
|
|
||||||
describe('processImage', () => {
|
describe('processImage', () => {
|
||||||
it('should resize image', async () => {
|
it('should resize image', async () => {
|
||||||
let img = fs.readFileSync(__dirname + '/__testdata__/image.jpg');
|
let img = fs.readFileSync(__dirname + '/__testdata__/image.jpg');
|
||||||
|
Loading…
Reference in New Issue
Block a user