rangement/tests/main.test.js

16 lines
539 B
JavaScript
Raw Normal View History

2023-07-05 23:11:46 +02:00
import finder from "../finder.mjs";
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', () => {
});
})