rigjs
Version:
A multi-repos dev tool based on yarn and git.Rigjs is intended to be the simplest way to develop,share and deliver codes between different developers or different projects.
15 lines (12 loc) • 393 B
text/typescript
import path from 'path';
const testPath = path.join(__dirname, '../../jest/test.rig.json5');
import RigConfig from '@/classes/RigConfig';
test('RigConfig init dependencies', () => {
const testConfig = RigConfig.createFromPath(testPath);
expect(testConfig.dependencies).toEqual({
'rig-test-1': {
source: "git@github.com:FlashHand/rig-test-1.git",
version: "1.0.1"
}
});
});