Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit c75672f

Browse files
committed
test: remove labels on afterAll calls
1 parent d49195d commit c75672f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

server/test/integration/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ beforeAll(async () => {
1717
await app.ready()
1818
})
1919

20-
afterAll('cleanup test user', async () => {
20+
afterAll(async () => {
2121
config.email = oldEmail
2222
await removeUserByEmail({
2323
email: testUser.email

server/test/integration/challenges.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ beforeAll(async () => {
1717
uuid = testUserData.user.id
1818
})
1919

20-
afterAll('cleanup test user', async () => {
20+
afterAll(async () => {
2121
await testUserData.cleanup()
2222
})
2323

server/test/integration/profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ test('succeeds with goodUserData', async () => {
3737
expect(resp.body.data.name).toBe(testUser.name)
3838
})
3939

40-
afterAll('cleanup test user', async () => {
40+
afterAll(async () => {
4141
await removeUserByEmail({
4242
email: testUser.email
4343
})

server/test/integration/submit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ beforeAll(async () => {
2020
uuid = testUserData.user.id
2121
})
2222

23-
afterAll('cleanup test user', async () => {
23+
afterAll(async () => {
2424
await db.solves.removeSolvesByUserId({ userid: uuid })
2525
await testUserData.cleanup()
2626
})

server/test/integration/submitTiming.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ beforeAll(async () => {
1919
uuid = testUserData.user.id
2020
})
2121

22-
afterAll('cleanup test user', async () => {
22+
afterAll(async () => {
2323
await testUserData.cleanup()
2424
})
2525

0 commit comments

Comments
 (0)