1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/tools/licenses/utils/matchMit.test.ts

11 lines
277 B
TypeScript
Raw Normal View History

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',
});
});
});