IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Unverified Commit eaeb0277 authored by James C. De Ricco's avatar James C. De Ricco Committed by GitHub
Browse files

Merge pull request #10 from...

Merge pull request #10 from my-conservation-life/feature-create-asset-definition-test-undefined-description

Feature create asset definition test undefined description
parents f6c986a6 f5825586
......@@ -159,6 +159,12 @@ describe('validate.type.assetDefinition', () => {
expect(result.isFailure()).toBe(true);
});
it('accepts undefined description', () => {
assetDefinition.description = undefined;
const result = type.assetDefinition(assetDefinition);
expect(result.isSuccess()).toBe(true);
});
// Test Properties
it('rejects undefined properties', () => {
assetDefinition.properties = undefined;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment