mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
12 lines
315 B
TypeScript
12 lines
315 B
TypeScript
|
import { getManifestValue } from '../src/utils/manifest';
|
||
|
|
||
|
const manifest = require('./partials/manifest/manifest.json');
|
||
|
|
||
|
describe('manifest', () => {
|
||
|
test('getManifestValue', () => {
|
||
|
expect(getManifestValue(['main.js'], manifest)).toEqual([
|
||
|
'/-/static/main.6126058572f989c948b1.js',
|
||
|
]);
|
||
|
});
|
||
|
});
|