scripts/rangement/index.test.js

20 lines
533 B
JavaScript
Raw Normal View History

2023-06-29 17:40:48 +02:00
// import finders from "./finders.mjs";
const finders = require('./finders.mjs')
2023-06-29 17:40:48 +02:00
//
// describe('rangement file name', () => {
//
// test('detects date in file name', () => {
// expect(finders.findFormattedDate('2023-06-23T18.36.47 -- machin bidule.jpg')).toBe('2023-06-23T18.36.47');
// });
// })
console.log('finders', finders)
2023-06-29 17:40:48 +02:00
test('adding positive numbers is not zero', () => {
for (let a = 1; a < 10; a++) {
for (let b = 1; b < 10; b++) {
expect(a + b).not.toBe(0);
}
}
});