Skip to content

Commit

Permalink
fix: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JFGHT committed Jan 29, 2020
1 parent 3484ceb commit cf42c81
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions lib/directory-protocol.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ describe('Directory Protocol', (): void => {
_text: '',
},
};
const countries = {
'ns3:countryNames': {
_text: '',
},
'ns3:Issuer': arr ? [mockIssuer] : mockIssuer,
};
return JSON.stringify({
'ns3:DirectoryRes': {
'ns3:createDateTimestamp': {
Expand All @@ -91,12 +97,7 @@ describe('Directory Protocol', (): void => {
'ns3:directoryDateTimestamp': {
_text: '',
},
'ns3:Country': [{
'ns3:countryNames': {
_text: '',
},
'ns3:Issuer': arr ? [mockIssuer] : mockIssuer,
}],
'ns3:Country': arr ? [countries] : countries,
},
},
});
Expand Down

0 comments on commit cf42c81

Please sign in to comment.