1 | import { expect } from 'chai';
|
2 |
|
3 | import { IVersion, IVersionLabelEnum } from '@leanup/openapi-demo';
|
4 |
|
5 | describe(`Test: OpenAPI`, () => {
|
6 | const label: IVersionLabelEnum = IVersionLabelEnum.Latest;
|
7 | const version: IVersion = {
|
8 | major: 1,
|
9 | minor: 2,
|
10 | patch: 3,
|
11 | text: '1.2.3',
|
12 | label: label,
|
13 | };
|
14 |
|
15 | it('Test Version', () => {
|
16 | expect(version.text).be.equal('1.2.3');
|
17 | });
|
18 | });
|