rangement/tests/main.test.js

16 lines
544 B
JavaScript
Raw Normal View History

import finder from "../utils/finder.ts";
2023-07-05 23:11:46 +02:00
import { Jest as mockUpload } from '@jest/environment'
xdescribe('rangement file detection', () => {
// find how to mock process.env arguments
// const call = mockUpload.mock.calls[0][0]
test('returns a list of 2 files to parse when given the folder testFiles/meme_base', () => {
});
test('returns a list of 1 file to parse when given the argument testFiles/image.jpg', () => {
});
test('returns a list of 0 file to parse when given the null argument', () => {
});
})