Do not run afterAll-hooks on --dry-run