Writing Integration Tests

What testing pattern is demonstrated in this integration test?
describe('User Registration', () => {
  beforeAll(async () => {
    await database.connect();
    await clearTestData();
  });

  afterAll(async () => {
    await database.disconnect();
  });

  test('should create user and send welcome email', async () => {
    const user = await registerUser({
      email: 'test@example.com',
      password: 'password123'
    });
    
    const dbUser = await database.users.findOne({ email: user.email });
    expect(dbUser).toBeDefined();
    expect(emailService.sentEmails).toContainEqual(
      expect.objectContaining({ to: user.email })
    );
  });
});
Next Question (2/20)