File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ describe('valueSetUtils', () => {
47
47
48
48
describe ( 'checkCodeInVs' , ( ) => {
49
49
const includesCode = 'C00.0' ;
50
- // Note: Expansions are a superset of includes
51
50
const expansionCode = 'C00.1' ;
52
51
const missingCode = 'C12.34' ;
53
52
const vsPath = path . resolve ( __dirname , './fixtures/valueset-without-expansion.json' ) ;
@@ -69,6 +68,7 @@ describe('valueSetUtils', () => {
69
68
test ( 'Should return true if the code is in the VS expansion' , ( ) => {
70
69
expect ( checkCodeInVs ( expansionCode , vsWithExpansionPath , vsTypes . json ) ) . toBeTruthy ( ) ;
71
70
} ) ;
71
+ // Note: Expansions are a superset of includes; this is why we dont test "when an `includesCode` isn't in the expansion ValueSet"
72
72
test ( 'Should return false if the code is missing from both' , ( ) => {
73
73
expect ( checkCodeInVs ( missingCode , vsPath , vsTypes . json ) ) . toBeFalsy ( ) ;
74
74
expect ( checkCodeInVs ( missingCode , vsWithExpansionPath , vsTypes . json ) ) . toBeFalsy ( ) ;
You can’t perform that action at this time.
0 commit comments