Skip to content

Commit 9631e5c

Browse files
authored
Resolve fix for VCSWP-22701 (#74)
* WIP Set file and test autogeneration fix * Resolve test autogeneration and Set issue * Add latest changelog entry * Fix indentation on class test block for all test files
1 parent a164a75 commit 9631e5c

File tree

126 files changed

+801
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+801
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
99

1010
None
1111

12+
<a name="3.6.2"></a>
13+
14+
## [3.6.2] - 2024-07-31
15+
16+
### Removed
17+
18+
- Set import from all node model files
19+
20+
### Add
21+
22+
- Model instance type tests
23+
1224
<a name="3.6.1"></a>
1325

1426
## [3.6.1] - 2024-07-31

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ For more information, please visit [https://www.freeclimb.com/support/](https://
1414
## Installing
1515

1616
```sh
17-
npm install @freeclimb/[email protected].1
17+
npm install @freeclimb/[email protected].2
1818
or
19-
yarn add @freeclimb/[email protected].1
19+
yarn add @freeclimb/[email protected].2
2020
```
2121

2222
## Getting Started

__tests__/generatedTests/AccountRequest.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ describe('AccountRequest', () => {
66
alias: "test_alias",
77
label: "test_label",
88
})
9+
describe("AccountRequest class test", () => {
10+
it('resolves to the class type upon initialization', () => {
11+
expect(model).toBeInstanceOf(freeclimb.AccountRequest)
12+
})
13+
})
914
describe(".alias", () => {
1015
it('resolves to particular value on initialization', () => {
1116
const value = "test_alias"

__tests__/generatedTests/AccountResult.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ describe('AccountResult', () => {
1717
status: freeclimb.AccountStatus.CLOSED,
1818
subresourceUris: {},
1919
})
20+
describe("AccountResult class test", () => {
21+
it('resolves to the class type upon initialization', () => {
22+
expect(model).toBeInstanceOf(freeclimb.AccountResult)
23+
})
24+
})
2025
describe(".uri", () => {
2126
it('resolves to particular value on initialization', () => {
2227
const value = "test_uri"

__tests__/generatedTests/AccountResultAllOf.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ describe('AccountResultAllOf', () => {
1313
status: freeclimb.AccountStatus.CLOSED,
1414
subresourceUris: {},
1515
})
16+
describe("AccountResultAllOf class test", () => {
17+
it('resolves to the class type upon initialization', () => {
18+
expect(model).toBeInstanceOf(freeclimb.AccountResultAllOf)
19+
})
20+
})
1621
describe(".accountId", () => {
1722
it('resolves to particular value on initialization', () => {
1823
const value = "test_accountId"

__tests__/generatedTests/AddToConference.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ describe('AddToConference', () => {
1414
startConfOnEnter: true,
1515
talk: true,
1616
})
17+
describe("AddToConference class test", () => {
18+
it('resolves to the class type upon initialization', () => {
19+
expect(model).toBeInstanceOf(freeclimb.AddToConference)
20+
})
21+
})
1722

1823
describe(".allowCallControl", () => {
1924
it('resolves to particular value on initialization', () => {

__tests__/generatedTests/AddToConferenceAllOf.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ describe('AddToConferenceAllOf', () => {
1313
startConfOnEnter: true,
1414
talk: true,
1515
})
16+
describe("AddToConferenceAllOf class test", () => {
17+
it('resolves to the class type upon initialization', () => {
18+
expect(model).toBeInstanceOf(freeclimb.AddToConferenceAllOf)
19+
})
20+
})
1621
describe(".allowCallControl", () => {
1722
it('resolves to particular value on initialization', () => {
1823
const value = true

__tests__/generatedTests/ApplicationList.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ describe('ApplicationList', () => {
1212
nextPageUri: "test_nextPageUri",
1313
applications: [],
1414
})
15+
describe("ApplicationList class test", () => {
16+
it('resolves to the class type upon initialization', () => {
17+
expect(model).toBeInstanceOf(freeclimb.ApplicationList)
18+
})
19+
})
1520
describe(".total", () => {
1621
it('resolves to particular value on initialization', () => {
1722
const value = 1

__tests__/generatedTests/ApplicationListAllOf.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ describe('ApplicationListAllOf', () => {
55
let model: freeclimb.ApplicationListAllOf = new freeclimb.ApplicationListAllOf({
66
applications: [],
77
})
8+
describe("ApplicationListAllOf class test", () => {
9+
it('resolves to the class type upon initialization', () => {
10+
expect(model).toBeInstanceOf(freeclimb.ApplicationListAllOf)
11+
})
12+
})
813
describe(".applications", () => {
914
it('resolves to particular value on initialization', () => {
1015

__tests__/generatedTests/ApplicationRequest.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ describe('ApplicationRequest', () => {
1111
smsUrl: "test_smsUrl",
1212
smsFallbackUrl: "test_smsFallbackUrl",
1313
})
14+
describe("ApplicationRequest class test", () => {
15+
it('resolves to the class type upon initialization', () => {
16+
expect(model).toBeInstanceOf(freeclimb.ApplicationRequest)
17+
})
18+
})
1419
describe(".alias", () => {
1520
it('resolves to particular value on initialization', () => {
1621
const value = "test_alias"

0 commit comments

Comments
 (0)