Skip to content

Commit 1b156be

Browse files
committed
Remove tests
1 parent bbeb6a3 commit 1b156be

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

__tests__/github/users.test.ts

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ describe('users', () => {
4040
})
4141

4242
describe('isOrgMember()', () => {
43-
// it('Returns True if User is Org Member', async () => {
44-
// expect(await users.isOrgMember('user')).toBe(true)
45-
// })
46-
4743
it('Returns False if User is Not Org Member', async () => {
4844
mocktokit.rest.orgs.getMembershipForUser.mockRejectedValue({
4945
status: 404
@@ -52,46 +48,4 @@ describe('users', () => {
5248
expect(await users.isOrgMember('user')).toBe(undefined)
5349
})
5450
})
55-
56-
// describe('removeUsers()', () => {
57-
// it('Removes All Users in this class from the organization', async () => {
58-
// mocktokit.graphql.mockResolvedValue({
59-
// user: {
60-
// isEmployee: false,
61-
// email: '[email protected]'
62-
// }
63-
// })
64-
// teams_getMembers.mockResolvedValue([
65-
// {
66-
// handle: 'ncalteen',
67-
// email: '[email protected]'
68-
// }
69-
// ])
70-
71-
// await users.removeUsers({
72-
// action: AllowedIssueAction.CREATE,
73-
// customerName: 'Nick Testing Industries',
74-
// customerAbbr: 'NA1',
75-
// startDate: new Date(2024, 10, 17),
76-
// endDate: new Date(2024, 10, 20),
77-
// administrators: [
78-
// {
79-
// handle: 'ncalteen',
80-
// email: '[email protected]'
81-
// }
82-
// ],
83-
// attendees: [
84-
// {
85-
// handle: 'ncalteen-testuser',
86-
// email: '[email protected]'
87-
// }
88-
// ]
89-
// })
90-
91-
// expect(mocktokit.rest.orgs.removeMember).toHaveBeenCalledWith({
92-
// org: 'githubschool',
93-
// username: 'ncalteen'
94-
// })
95-
// })
96-
// })
9751
})

0 commit comments

Comments
 (0)