Skip to content

Commit

Permalink
test: remove labels on afterAll calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ginkoid committed Aug 9, 2020
1 parent d49195d commit c75672f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion server/test/integration/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ beforeAll(async () => {
await app.ready()
})

afterAll('cleanup test user', async () => {
afterAll(async () => {
config.email = oldEmail
await removeUserByEmail({
email: testUser.email
Expand Down
2 changes: 1 addition & 1 deletion server/test/integration/challenges.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ beforeAll(async () => {
uuid = testUserData.user.id
})

afterAll('cleanup test user', async () => {
afterAll(async () => {
await testUserData.cleanup()
})

Expand Down
2 changes: 1 addition & 1 deletion server/test/integration/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test('succeeds with goodUserData', async () => {
expect(resp.body.data.name).toBe(testUser.name)
})

afterAll('cleanup test user', async () => {
afterAll(async () => {
await removeUserByEmail({
email: testUser.email
})
Expand Down
2 changes: 1 addition & 1 deletion server/test/integration/submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ beforeAll(async () => {
uuid = testUserData.user.id
})

afterAll('cleanup test user', async () => {
afterAll(async () => {
await db.solves.removeSolvesByUserId({ userid: uuid })
await testUserData.cleanup()
})
Expand Down
2 changes: 1 addition & 1 deletion server/test/integration/submitTiming.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ beforeAll(async () => {
uuid = testUserData.user.id
})

afterAll('cleanup test user', async () => {
afterAll(async () => {
await testUserData.cleanup()
})

Expand Down

0 comments on commit c75672f

Please sign in to comment.