mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
09c219fb6d
* Playing around with pre-request hooks * Added response hooks * More flow types * Flow types on wrapper.js * Flow types on plugin folder * Basic tests for plugin hooks * Make DB initilize for all tests no matter what * Touch
14 lines
490 B
JavaScript
14 lines
490 B
JavaScript
import * as appPackage from '../package.json';
|
|
import * as globalPackage from '../../package.json';
|
|
|
|
describe('package.json', () => {
|
|
beforeEach(global.insomniaBeforeEach);
|
|
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}`);
|
|
}
|
|
});
|
|
});
|