mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 09:15:01 +03:00
12 lines
249 B
JavaScript
12 lines
249 B
JavaScript
import { isLocalId } from './local-id';
|
|
|
|
describe('isLocalId', () => {
|
|
test('is valid', () => {
|
|
expect(isLocalId('local:1234567890')).toBeTruthy();
|
|
});
|
|
|
|
test('is invalid', () => {
|
|
expect(isLocalId('1234567890')).toBeFalsy();
|
|
});
|
|
});
|