mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
11 lines
277 B
TypeScript
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',
|
||
|
});
|
||
|
});
|
||
|
});
|