mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
13 lines
449 B
JavaScript
13 lines
449 B
JavaScript
|
import * as appPackage from '../package.json';
|
||
|
import * as globalPackage from '../../package.json';
|
||
|
|
||
|
describe('package.json', () => {
|
||
|
it('all app dependencies should be same in global', () => {
|
||
|
for (const name of Object.keys(appPackage.dependencies)) {
|
||
|
const expected = globalPackage.dependencies[name];
|
||
|
const actual = appPackage.dependencies[name];
|
||
|
expect(`${name}::${actual}`).toBe(`${name}::${expected}`);
|
||
|
}
|
||
|
});
|
||
|
});
|