This is a simple change: Jest exposes beforeAll/afterAll helpers, not before/after.
beforeAll
afterAll
before
after