This hook runs after all test finishes running which basically is the opposite of beforeAll. This hook is useful when you want to cleanup your test setup, like disconnect database or delete some files that were needed for this particular test etc.

import {afterAll} from "vitest"  
  
afterAll(() => {  
	// logic to cleanup your test setup  
})