Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions __tests__/gen/users-patch_user_crm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ async function example() {

describe('Testing users.patch_user_crm', () => {
it('should be truthy or throw', async () => {
try {
await example();
} catch (err) {
expect(err).toBeTruthy(); // eslint-disable-line jest/no-conditional-expect
}
expect(await example()).toBeTruthy();
});
});
6 changes: 1 addition & 5 deletions __tests__/gen/users-put_public_form.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ async function example() {

describe('Testing users.put_public_form', () => {
it('should be truthy or throw', async () => {
try {
await example();
} catch (err) {
expect(err).toBeTruthy(); // eslint-disable-line jest/no-conditional-expect
}
expect(await example()).toBeTruthy();
});
});
6 changes: 1 addition & 5 deletions __tests__/gen/users-put_public_subscribe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ async function example() {

describe('Testing users.put_public_subscribe', () => {
it('should be truthy or throw', async () => {
try {
await example();
} catch (err) {
expect(err).toBeTruthy(); // eslint-disable-line jest/no-conditional-expect
}
expect(await example()).toBeTruthy();
});
});
6 changes: 1 addition & 5 deletions __tests__/gen/users-put_user_form_self.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ async function example() {

describe('Testing users.put_user_form_self', () => {
it('should be truthy or throw', async () => {
try {
await example();
} catch (err) {
expect(err).toBeTruthy(); // eslint-disable-line jest/no-conditional-expect
}
expect(await example()).toBeTruthy();
});
});
4 changes: 0 additions & 4 deletions src/expectedToFail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ export const testsExpectedToThrow = [
'users.get_user_front_hash_self',
'users.get_user',
'users.update_user_privacy_settings',
'users.patch_user_crm',
'users.put_public_form',
'users.put_user_form_self',
'users.put_public_subscribe',
'api-tokens.delete_api_token_for_user',
'api-tokens.get_api_token_for_user',
'service-accounts.delete_service_account_for_org',
Expand Down
Loading