18 lines
620 B
TypeScript
18 lines
620 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import { parseToolboxApp } from '@add-ideas/toolbox-contract';
|
|
import generatedManifest from '../public/toolbox-app.json';
|
|
import { toolboxApp } from './toolboxApp';
|
|
|
|
describe('toolbox app definition', () => {
|
|
it('matches the generated public manifest', () => {
|
|
expect(toolboxApp).toEqual(parseToolboxApp(generatedManifest));
|
|
});
|
|
|
|
it('uses repository metadata for the shared source control', () => {
|
|
expect(toolboxApp.source?.repository).toBe(
|
|
'https://git.add-ideas.de/zemion/pdf-tools'
|
|
);
|
|
expect(toolboxApp.actions).toBeUndefined();
|
|
});
|
|
});
|