feat: release toolbox portal 0.1.0
This commit is contained in:
14
scripts/licenses.test.ts
Normal file
14
scripts/licenses.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { createRuntimeLicenseBundle } from './licenses.mjs';
|
||||
|
||||
describe('runtime license bundle', () => {
|
||||
it('contains the complete installed runtime package notices', async () => {
|
||||
const bundle = await createRuntimeLicenseBundle(process.cwd());
|
||||
expect(bundle).toContain('@add-ideas/toolbox-contract@');
|
||||
expect(bundle).toContain('react@');
|
||||
expect(bundle).toContain('react-dom@');
|
||||
expect(bundle).toContain('scheduler@');
|
||||
expect(bundle).toContain('Apache License');
|
||||
expect(bundle).toContain('MIT License');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user