fume-fhir-converter
Version:
FHIR-Utilized Mapping Engine - Community
19 lines • 712 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* © Copyright Outburn Ltd. 2022-2024 All Rights Reserved
* Project name: FUME-COMMUNITY
*/
const globals_1 = require("@jest/globals");
const v2codeLookup_1 = require("./v2codeLookup");
describe('v2codeLookup', () => {
(0, globals_1.test)('looks up existing key', async () => {
const res = await (0, v2codeLookup_1.v2codeLookup)(761, '0');
expect(res).toBe('Valid code');
});
(0, globals_1.test)('looks up missing key', async () => {
const res = await (0, v2codeLookup_1.v2codeLookup)(761, '9');
expect(res).toBe(undefined);
});
});
//# sourceMappingURL=v2codeLookup.test.js.map