@identity.com/dsr
Version:
The Dynamic Scope Request (DSR) javascript library provides capability around securely requesting credential information between an ID Requester and an ID Holder
13 lines (10 loc) • 351 B
JavaScript
const { getConfig, initServices } = require('../../../src/services/index');
describe('Services index tests', () => {
it('Should test the init of an config file', () => {
expect(getConfig()).toBeDefined();
});
it('Should force a null config file', () => {
const services = initServices(null);
expect(services.id).toBe(0);
});
});