mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +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',
|
|
});
|
|
});
|
|
});
|