1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/packages/tools/licenses/utils/matchMit.test.ts
Henry Heino 02bdb7a79c
Docs: Include dependency overview (#10911)
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
2024-08-22 21:53:27 +01:00

11 lines
277 B
TypeScript

import mit from '../licenseText/mit';
import matchMit from './matchMit';
describe('matchMit', () => {
test('should match the MIT license template', () => {
expect(matchMit(mit('test copyright'))).toMatchObject({
copyright: 'Copyright (c) test copyright',
});
});
});