cla-wrapper
Version:
Wrapper for CDISC Library API
19 lines (15 loc) • 512 B
text/typescript
const { CdiscLibrary } = require('../dist/classes/claWrapper');
const cl = new CdiscLibrary({ baseUrl: cdiscLibraryUrl});
let product;
let field;
beforeAll(async () => {
product = await cl.getFullProduct('sdtmig33');
const domain = await product.getItemGroup('DM');
field = domain.getItem('DTHFL');
});
describe('Analysis Variable Set', () => {
it('Get codeList', async () => {
const result = await field.getCodeList();
expect(result.name).toBe('No Yes Response');
});
});