1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Chore: Complete Jest upgrade

This commit is contained in:
Laurent Cozic
2022-11-15 10:23:50 +00:00
parent 33b96b4c65
commit 64199704c2
90 changed files with 118 additions and 346 deletions

View File

@@ -2,9 +2,7 @@ const mimeUtils = require('./mime-utils.js').mime;
describe('mimeUils', function() {
beforeEach(async (done) => {
done();
});
it('should get the file extension from the mime type', (async () => {
expect(mimeUtils.toFileExtension('image/jpeg')).toBe('jpg');